php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42120 value cannot be not accepted by the pattern
Submitted: 2007-07-27 09:50 UTC Modified: 2007-07-29 10:02 UTC
From: longrennet at hotmail dot com Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 5.2.3 OS: window xp
Private report: No CVE-ID: None
 [2007-07-27 09:50 UTC] longrennet at hotmail dot com
Description:
------------
I use schemaValidate() to validates a xml based by the given schema file. 
and found the warning:  The value 'InternetGatewayDevice.DeviceInfo.' is not accepted by the pattern '\S+\.'. 

The pattern is : <xs:pattern value="\S+\."/>
The value is :  InternetGatewayDevice.DeviceInfo.

I think the value can accept by the pattern. So is this a bug?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-29 10:02 UTC] chregu@php.net
This is not a PHP issue, since the XML Schema stuff is done by the 
external libxml2 library.  Please file a bug there, if you still think, 
this is a bug (but be aware, that the XML Schema implementation of 
libxml2 isn't 100% done, maybe that's one of the areas, where it's not 
finished)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC