- From: Costello, Roger L. <costello@mitre.org>
- Date: Thu, 25 Feb 2016 14:20:14 +0000
- To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Hi Folks, Hopefully there are some Xerces developers on this mailing list (hey Mukul). The below schema validates fine in Saxon but Xerces throws an error. /Roger ---------------------------------------------------------------------------------- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="A" type="xs:double" /> <xs:element name="B" substitutionGroup="A" type="xs:double" /> <xs:complexType name="base"> <xs:sequence> <xs:element ref="A" minOccurs="0" maxOccurs="unbounded" /> </xs:sequence> </xs:complexType> <xs:complexType name="derived"> <xs:complexContent> <xs:restriction base="base"> <xs:sequence> <xs:element ref="B" minOccurs="0" /> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType> </xs:schema>
Received on Thursday, 25 February 2016 14:20:52 UTC