A follow up question why does the Xerces Java version allow this? I'm getting beat up by the java programmers :)
-----Original Message----- From: Radovan Chytracek [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 9:02 AM To: [EMAIL PROTECTED] Subject: RE: ID IDREF Hi, it can't be done. XML Spec clearly says, that ID must be unique inside XML document. Your XML document is invalid. Sad but true. Cheers Radovan > -----Original Message----- > From: Wuebben, Anthony E. (LNG) [mailto:[EMAIL PROTECTED]] > Sent: Friday, 24 May 2002 14:41 > To: [EMAIL PROTECTED] > Subject: ID IDREF > > > Quick question: > > When reading a file the DOMParser throws an "error" when elements contain > the same ID value. Is there a way to turn this off or have it throw a > "warning" instead? > > > I'm using XERCES V1.4 on Solaris & I have validation turned off. > > DOMParser _parser; > ........ > _parser.setDoValidation(false); > _parser.setValidationScheme(DOMParser::Val_Never); > .......... > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
