OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   ANN: XML Schema Regular Expression Parser

[ Lists Home | Date Index | Thread Index ]
  • From: Daniel Potter <dpotter@mitre.org>
  • To: xml-dev@ic.ac.uk, "Schneider,John C." <jcs@mitre.org>, "Hebert,Daniel J." <dhebert@mitre.org>, "Norman,Douglas O." <dnorman@mitre.org>, "Cokus,Michael S." <msc@mitre.org>, "Costello,Roger L." <costello@mitre.org>, "Potter,Daniel M." <dpotter@mitre.org>, "Daniels,Karen M." <kdaniels@mitre.org>, www-xml-schema-comments@w3c.org
  • Date: Tue, 04 Jan 2000 14:17:23 -0500

A working model of a regular expression parser designed to parse and
match strings based on the current XML Schema pattern definition is now
available at <http://www.xfront.org/xml-schema/>.  This is a Java applet
(Java 1.1) and will require a Java enabled browser.  It is still
currently a test, meaning that there are still bugs which have yet to be
fixed or even found.

Keep in mind the differences between regular expressions used in Perl
and regular expressions used to specify patterns in the XML Schema spec!
For example, the non-greedy operators aren't used (*?, +?);
backreferencing (\1) is unavailable, and others.

However, one known lacking feature is the \p{xx} forms.  Although the
parser will recognize \p (or \P) it will ignore it and move on, causing
the {xx} after it to be parsed, interpretting it as an {m,n} form.  This
in most cases will cause an error.

The source code is currently not available for general download, but
anyone interested can e-mail me (<mailto:dpotter@mitre.org>).

Try it out and see what you think!  Please send me any bugs that you
discover.  Thanks.

- Dan Potter


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

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

Copyright 2001 XML.org. This site is hosted by OASIS