Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - urgent: validating XML syntax using VC++ [Thread Next] Re: urgent: validating XML syntax using VC++To: NULL Date: 4/2/2007 4:52:00 PM What you appear to be asking for is going to take a lot of work. Firstly you could validate against a schema using standard methods. Then you want some non XML Infoset validation. This is the tricky part as the following three lines all have the same infoset but are different when viewed as strings: <data id="ID1"><child name="joe" age="44"/></data> <data id='ID1'><child age="44" name="joe"/></data> <data id="ID1"><child name="joe" age="44"></child></data> I don't know of any utility that can do this. -- Joe Fawcett (MVP - XML) http://joe.fawcett.name <sanoj.varghese@g...> wrote in message news:1175507655.555152.85610@o...... > Hi, > I have an XML file which needs to be validated using VC++, not against > the schema, BUT AGAINST THE TAGS. I need to check for start <>and end > </>tags to see whether the XML is of proper format or not. How can i > implement this. Can anyone provide some piece of code or ideas leading > to a solution for this problem. > Thanks in advance, > sano > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
