Hello, I am using the Xerces parser for validating xml documents against DTDs. The parser generated error messages are generic i.e. they do not point out an element for any errors on that element. for e.g. if I have a document that has the a sequence of elements as elem1, elem2, elem3 and if I miss elem1 in the sequence the parser generates an error such as 'the document content type should be 'elem1, elem2, elem3'. I would require the error message to be 'elem1 missing in the document'. Is there a way to generate such specific error messages using xerces parser? or is there a way to get an error code from the parser through which I can generate specific error messages.
Thanks Uma --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
