Next in thread → Next in month →

Re: [xml-dev] ANN: a simple XML well-formedness checker

From
Mukul Gandhi <>
To
Date
2008-01-23T14:04:22Z
ID
<>
Thread
Re: [xml-dev] ANN: a simple XML well-formedness checker
Hello,
  Some update to the mail I posted earlier ...

On Jan 21, 2008 3:30 AM, Liam Quin <> wrote:
> Yours (as you note) doesn't cope with comments, entities, and more;
> I worry that people will think they have well-formed XML based on
> this when in fact they don't.

I have incorporated some improvements to this utility. The updated
utility is available at:
http://gandhimukul.tripod.com/java.htm#well-formdness

The notable improvements in this version are:
1) The comments can now be handled
2) The regular expression is more improved

PS: If anyone could suggest a perfect regular expression for XML names
(which needs to work with JDK 1.6.0), as per the XML 1.1 spec, I would
be delighted to incorporate it right away to this code. For this, you
need to look at my source code, for what I have written so far.


-- 
Regards,
Mukul Gandhi
Next in thread → Next in month →