From: James Britt Date: 2004-11-09T02:47:11+09:00 Subject: Re: REXML error reporting (XHTML validation) Dmitri Borodaenko wrote: > I've implemented a simple XHTML validation class based on REXML and > YAML, and it works like a charm except for invalid XML: when there is > something like a loose unescaped '<' character, it just raises > ParseException with no obvious reference to the guilty character. Is > it possible to get more useful info out of REXML, or should I use some > other XML validator? This is quite nice. I'm poking around, looking to see how best to recover validation error info. Two comments: I added logging to my copy so that I could see what was being clobbered during sanitization. Might be worth including this by default. I see that 'script' elements are deleted, as the yaml file makes no mention of that element. Thanks for the nice work, James