[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Mukul Gandhi" <gandhi.mukul@g...>
  • To: xml-dev@l...
  • Date: Wed, 23 Jan 2008 19:34:22 +0530

Hello,
  Some update to the mail I posted earlier ...

On Jan 21, 2008 3:30 AM, Liam Quin <liam@w...> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member