Is the value maxoccurs=0 legal? The following simple schema file gives an error (together with a simple xml file with element root) in Xerces C (2.5.0) but not in Xerces Java (2.6.2).
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> <xs:complexType name="Test" mixed="false"> <xs:complexContent> <xs:restriction base="xs:anyType"> <xs:sequence> <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/> </xs:sequence> </xs:restriction> </xs:complexContent> </xs:complexType> <xs:element name="root" type="Test"/> </xs:schema> Thanks Tony Dodd Oxford University Research Technology Group --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
