Fraser
Goffin a écrit :
Before we dismiss these applications as useless because they don'tI also like to be pragmatic and I think it would be relatively easy to write, let's say, a Java function, to correct or repair such bad XML documents. Some documents could not be repaired but most of them would be... I have already written such a function, as a one-pass automat, for bad-formed HTML (http://sourceforge.net/projects/light-html2xml) to correct tags and put XML entities, replacing HTML entities so parsing can be done. Do you think it would be a good idea to call such a function before regular parsing ? Alain COUTHURES <agenceXML> http://www.agencexml.com Bordeaux, France |