[ 
https://issues.apache.org/jira/browse/XERCESC-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tzvika Adamovsky closed XERCESC-1982.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.1.2

works in 3.1.2

> 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
>             Fix For: 3.1.2
>
>
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to