Tzvika Adamovsky created XERCESC-1982:
-----------------------------------------

             Summary: XSD schema load failure
                 Key: XERCESC-1982
                 URL: https://issues.apache.org/jira/browse/XERCESC-1982
             Project: Xerces-C++
          Issue Type: Bug
          Components: Validating Parser (XML Schema)
    Affects Versions: 3.1.1
         Environment: Windows 7 / xerces from 
xerces-c-3.1.1-x86-windows-vc-8.0.zip
            Reporter: Tzvika Adamovsky


The following schema causes parser exception "mismatched type in MergeRanges":

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:simpleType name="MediaDesc">
                <xs:restriction base="xs:string">
                        <xs:pattern value="(\s*[^,])*"/> 
                </xs:restriction>
        </xs:simpleType>
</xs:schema>

Note that if I remove \s* from pattern, schema loaded without errors.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to