DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8652>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8652 Parsing error: xxxxxx must match DOCTYPE root "null" Summary: Parsing error: xxxxxx must match DOCTYPE root "null" Product: Xerces2-J Version: 2.0.1 Platform: PC OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a parse error when I try to run the DOMEcho with the following .xsd, xml files HelloWorld.xml <?xml version="1.0" encoding="ISO-8859-1"?> <HelloWorld xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:noNamespaceSchemaLocation="HelloWorld.xsd"> <BodyMsg> <Message1>It works</Message1> <Message2>Yes or No</Message2> </BodyMsg> </HelloWorld> HelloWorld.xsd <?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"> <xsd:element name="HelloWorld"> <xsd:complexType> <xsd:sequence> <xsd:element name="BodyMsg"> <xsd:complexType> <xsd:sequence> <xsd:element name="Message1" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="Message2" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:maxLength value="50"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> I modified the DOMEcho.java program instruction: static final String W3C_XML_SCHEMA = "http://www.w3.org/2000/10/XMLSchema"; If in the xml and xsd files I modify the dates /2000/10 by /2001 It works. Why ? Thank you in advance for your help. Regards, Francois --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
