Well formedness Validation not proper in EXPAT

<[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Hi All



 I am using expat parser to validate my XML file. But I have noticed
that it does not check well formed ness completely



I have an xml tag in my XML file as



            <name>Devyani<name>>>>>>



While parsing the file with such an entry the Expat parser does not
throw any error. Is there a way such check can be done within expat?



Xerces parsers do this validation and throw an error for this but Expat
does not do so. :-(



In my application I am using both Expat and Xerces DOM parser, output
file from Expat is input to the DOM parser for some modifications. The
DOM parser will never load such a file.



Besides I had tried opening such file in Internet Explorer and Mozilla,
both the browsers opened the file without showing any error. Does that
mean expat works in the same way and does not recognize if the XML file
has an xml entry as above.



Please suggest some solution.



Thanks in Advance




The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.