You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Tzvika Adamovsky (JIRA)" <xe...@xml.apache.org> on 2015/12/07 10:58:10 UTC
[jira] [Closed] (XERCESC-1982) XSD schema load failure
[ 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org