I can't figure out what is wrong with this schema, can someone please help (Xerces 1.4.3)
[Error] result.xml:3:12: Element type "birthday" must be declared. [Error] result.xml:4:9: The content of element type "gift" must match "(birthday)". <?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:myschema"> <xs:element name="gift"> <xs:complexType> <xs:sequence> <xs:element name="birthday" type="xs:date"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> <?xml version="1.0"?> <gift xmlns="urn:myschema"> <birthday>2001-01-10</birthday> </gift> Thanks Colin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
