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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: parsing XML using regular expressions

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: "Simon St.Laurent" <simonstl@simonstl.com>,XML-Dev Mailing list <xml-dev@xml.org>
  • Date: Fri, 11 Aug 2000 13:58:40 -0700

At 12:39 PM 09/08/00 -0400, Simon St.Laurent wrote:
>Has anyone written a generic XML parser, even a somewhat broken one, that's
>built on regular expressions?  I remember hearing of something a long while
>ago, but I can't find it.

Lark uses a hand-written DFA (with push-down and triggers) and since DFAs
are generally thought of as the runtime expression of REs, there's one
example.  It works well; if I were still maintaining Lark I think it
would be as fast as the fastest XML parsers out there, and a lot more
compact. -T.





 

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

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