[
Lists Home |
Date Index |
Thread Index
]
Elliotte Rusty Harold <elharo@metalab.unc.edu> wrote:
>The whole question of writing a JDOM parser is misphrased. Do you >want to write:
>1. An XML parser? >2. A builder of JDOM documents? >3. A parser whose output is a JDOM Document object?
Thanks alot Elliot for your response. i agree that the question of writing a JDOM parser was misphrased. I had some confusions as i am in the learning phase. Now i understand that:
JDOM is not a parser. It is an XML document representation in Java. It relies on a parser (Xerces by default) for reading raw XML.
I have written a very simple and basic XML parser which takes care of some of the XML grammar for well-formedness. It gives the parsing result or error message on command prompt.
[1] How can i modify it to be used as a parser to build a JDOM document. I mean how can I use it instead of Xerces in JDOM based parsing.
[2] What would be the difference if my parser is used instead of Xerces or any other sophisticated parser.
Regards
Fahim
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
|