- From: <bugzilla@jessica.w3.org>
- Date: Tue, 24 May 2016 13:47:43 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29658
Bug ID: 29658
Summary: [SER31] Problem with schema
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: Serialization 3.1
Assignee: cmsmcq@blackmesatech.com
Reporter: tim@cbcl.co.uk
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
Using the Microsoft schema validator (System.Xml.Schema), an error is reported
trying to load the serialization schema
"It is an error if a union type has a member with variety union and this member
cannot be substituted with its own members. This may be due to the fact that
the union member is a restriction of a union with facets."
It appears to be grumbling about the pattern facet in:
<xs:simpleType name="method-type">
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="html"/>
<xs:enumeration value="text"/>
<xs:enumeration value="xml"/>
<xs:enumeration value="xhtml"/>
<xs:enumeration value="json"/>
<xs:enumeration value="adaptive"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="output:QName-or-EQName">
<!--* value must have non-null namespace URI *-->
<xs:pattern value="(.*:.*)|(.*\{.+\}.*)"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
I'm not certain whether this is a problem with the schema or with the MS
implementation.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 24 May 2016 13:47:46 UTC