Wellformed xml or not
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, November 8, 2007 02:19 AM

Is there any api(java class ) that takes xml file as input
and tell whether given xml is wellformed or not ?

Waiting for your reply

Re: Wellformed xml or not

Posted By:   Robert_Lybarger  
Posted On:   Thursday, November 8, 2007 08:40 AM

My understanding is that the standard javax.xml.* portion of the standard API has parsers for reading an XML file ... if the file is not well-formed, they throw an exception of some variety. (Checking if file is "valid" is of course a different question.)
About | Sitemap | Contact