XML parsing (was RE: [antlr-interest] Places where Antlr can
scott at javadude.com
Fri Jun 24 20:32:27 PDT 2005
I'm actually doing this separately. I was thinking of merging with XPA, but
decided to keep this separate.
The SAX-based scanner is actually pretty similar. (We both arrived at the
same approach independently). I also have an XMLPULL based scanner. I only
have a single XML_END_TAG token that is passed for all end tags.
The parser is different. I added syntax to ANTLR to automatically generate
the start/end tag matches, as well as attribute syntax to make action code
I hope to have the beta out this weekend. I did a ton of work on it today (I
converted a project at work to use it and it works great now).
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org
> [mailto:antlr-interest-bounces at antlr.org] On Behalf Of Matt Benson
> Sent: Friday, June 24, 2005 12:36 PM
> To: Antlr List
> Subject: Re: XML parsing (was RE: [antlr-interest] Places
> where Antlr can beused ....)
> --- Scott Stanchfield <scott at javadude.com> wrote:
> > Basically I've modified the ANTLR syntax slightly so you can parse
> > <?xml version="1.0"?>
> > <people>
> > <person ssn="111-11-1111">
> > <first-name>Terence</first-name>
> > <last-name>Parr</last-name>
> > </person>
> Scott: I see that you are a developer on XPA. How does your
> current ANTLR/XML work compare?
> Yahoo! Sports
> Rekindle the Rivalries. Sign up for Fantasy Football
More information about the antlr-interest