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=3795>. 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=3795 Bug in xerces with Id and Id ref Summary: Bug in xerces with Id and Id ref Product: Xerces-J Version: 1.4.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hello, When i parse with Xerces the document that is given at the end of this message, the sax parser raised an Exception with the message "An element with the identifier "toto" must appear in the document." But the file is valid. Thank you for having a look at that. Christophe. First the DTD : <?xml version="1.0" encoding="ISO-8859-1"?> <!ELEMENT PRC (FONCTION+)> <!ATTLIST PRC ID CDATA #REQUIRED ENTREE IDREF #REQUIRED IDOU CDATA #REQUIRED VERSION CDATA #REQUIRED > <!ELEMENT FONCTION (LIENSIMPLE*)> <!ATTLIST FONCTION ID ID #REQUIRED ENTREE (O | N) #REQUIRED > <!ELEMENT LIENSIMPLE (DESTPRC | DESTFCT | DESTFIN)> <!ATTLIST LIENSIMPLE ID ID #REQUIRED IDLIB CDATA #REQUIRED > <!ELEMENT DESTPRC EMPTY> <!ATTLIST DESTPRC IDPRC CDATA #REQUIRED IDFCT CDATA #IMPLIED > <!ELEMENT DESTFCT EMPTY> <!ATTLIST DESTFCT IDFCT IDREF #REQUIRED > <!ELEMENT DESTFIN EMPTY> And a sample... <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE PRC SYSTEM "../../dtd/PRC.DTD"> <PRC ID="ModifierContactEmployeur" VERSION="V02.0" ENTREE="toto" IDOU="DossierEmployeur"> <FONCTION ID="MeuhModifierContactEmployeur" ENTREE="O"/> <FONCTION ID="toto" ENTREE="O"/> </PRC> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
