[Home] [By Thread] [By Date] [Recent Entries]


Elliotte Rusty Harold <elharo@m...> 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: http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member