Re: 2 questions about parsing

2001-06-25 Thread Houman . Azarm
More details on second question... I will be provided with an XML file from another party. We will agree on the DTD beforehand, of course. But they could send me a file which a modified DTD and the XML data in the rest of the file could match that modified DTD. So Xerces would parse and valid

2 questions about parsing

2001-06-22 Thread Houman . Azarm
If an XML file contains the DOCTYPE element with a DTD, the parser will automatically validate its format. This is pretty cool. How do I make it so this validation is case insensitive in regards to element names? What is the easiest way to read a DTD from one file and validate another XML file