XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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 <liam@w3.org> 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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS