Re: [[email protected]: Bug#283763: tidy: Error in XML file not detected]
Bjoern Hoehrmann <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
* Jason Thomas wrote: >> Hi, >> >> an XML file that contains something like >> >> <field value="aa<bb>cc"/> >> >> is not well-formed because the < and > must be escaped (eg. with < and >> >) even within quotes. tidy -xml doesn't detect this. Other tools such >> as xmllint do. Yeah, well, Tidy is basically not designed to complain about this, it auto-matically corrects the error. We have feature requests concerning more error messages for such things, but basically you are better off using a real XML processor for this. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/