[jdom-interest] Lazy parsing
aspitz at mitre.org
Mon Apr 16 07:27:31 PDT 2001
The idea with my parser is that it's lightweight and fast. The Tag objects
keep information about where the real XML tag exist in the XML file, the
name of the tag, a parent, and children. It does not keep attributes.
The general idea with my XML parser is that it works quickly to give the
user a bare minimum of detail about the XML document so that they can then
return and parse only those segments of the tree that they might think are
important. I haven't worked out all the details, or all the use cases, but
I wanted to see if there was more interest before I went on with the parser.
At 09:51 AM 4/16/2001 -0400, Jon Baer wrote:
>Id be interested in it, but what does the Tag object contain that would
>not be in the
>Id like to see there be a "basic" lightweight parser to be in JDOM
>(instead of Xerces
>as the default), so if your parser can construct a JDOM Document then Id be
>interested in it. Can I ask what other people are using (thats free and
>when they use SAXBuilder(parser)?
> > Hi -
> > I'm a new user of JDOM, and have been using it only for a short while. A
> > co-worker, that pointed JDOM out to me, mentioned that there was an
> > interest in a lazy parser. The rough description that I got was that there
> > was a need for a quick parser that would be able to go threw an XML
> > document and extract the bare essentials of the XML document, building a
> > very light tree along the way, This tree would then be used later on to go
> > back into the XML document and perform a more extensive parse of part of
> > the tree.
> > It just so happens that I have such a parser. It takes one pass threw a XML
> > document and returns a tree of light weight Tag objects. A Tag object
> > contains the number of bytes to the beginning and end of each XML tag, the
> > name of the tag, and the namespace which it lives in.
> > Is there still an interest in such code? I would be more then happy to
> > either give this code, to the right people to integrate into JDOM, or work
> > with someone to integrate it in.
> > Any interest? - AYAL
> > _______________________________________________
> > To control your jdom-interest membership:
>To control your jdom-interest membership:
More information about the jdom-interest