On Monday, July 21, 2003, at 11:35 PM, Jo�l Guillod wrote:


<p>&copy;2003 by Jo&euml;l Guillod</p>
<p><font color="#0000FF"><u>[EMAIL PROTECTED]</u></font></p>
<p></p>

Joel, the little I've used the XML lib I've not had any reliability problems. In your example I can tell you what the error is, but not WHY. I don't know enough about XML.


If you make the second parameter to revCreateXMLTree to be "true", that's parseBadData, you will get the error message back from the function, instead of a xml tree ID:

xmlerr, can't parse xml
Entity 'euml' no defined

I don't know what's "bad" about that entity, but I do know that most html, found in web pages out in the wild, is not valid XML. Apparently not all htmlText is not valid XML either.

Now correct me if I'm wrong, but is revCreateXMLTree negating the meaning of parseBadData? That is, it's parsing bad data when you have parseBadData = false, but when I set parseBadData = true, then it stops parsing with the error message? It's late and I'm weary so please confirm and if so I'll file a bug.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to