- From: Michael Kay <mike@saxonica.com>
- Date: Thu, 25 Feb 2016 14:34:22 +0000
- To: "Costello, Roger L." <costello@mitre.org>
- Cc: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
Give us a clue - what's the error? > On 25 Feb 2016, at 14:20, Costello, Roger L. <costello@mitre.org> wrote: > > 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:36:28 UTC