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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   [xml-dev] Help Needed to Design a JDOM Based XML Parser

[ Lists Home | Date Index | Thread Index ]

Hello to all
This is my first ever email to xml-dev and let me admit that i feel myself just a small kid among all experienced and intelligent people. i know that your time is very precious but i would be thankful if somebody could help me start designing an xml parser. your few minutes could be very helpful to me.
 
I have to design a JDOM based XML Parser. I need a starting point. let me tell you that i am not a professional, am a computing student, having basic knowlege of java programming and little bit of xml. so please treat me accordingly :)
 
First i would like to concentrate on designing a non validating xml parser (as i think validating one would be far too diff for me..but am not sure). how should i start. what could be the steps towards my goal.
 
i am pasting what i think i would be doing and i know i am not very clear about my goal so i would be really thankful if somebody could make me clear about all this and guide me a bit so that i could atleast starting walking........Thanks alot
-------------------------------------------------------------------------------------------------------------
It should parse an XML file laying in your computer, show very elaborated result, if there is some error it should identify the error with line number and giving details about the error (the error detail should be elaborated and easy to understand) and should allow the user to open that xml file in the editor and rectify that error and save. It should be able to check whether the xml file is well-formed and it should validate it against DTD as well.
It should be able to do the same check against well-formdness and validation of a file present at some server and be able to open it in the editor and rectify the errors and save.
There should be an interface for the application, which should have few menus like File (open, save), Tool (validate or parse), URL (able to parse the file laying on server), Help etc. the file should open in the text area provided in the interface along with line numbers and the results be shown at the bottom. For the functions like open, save, parse etc there should be a tool bar as well having icon for each function.
It should be a full-fledge parser not getting help of another parser just using the JDOM api.
---------------------------------------------------------------------------------------------------------------------------


Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square



 

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

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