This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using the following code to parse an XML called as order.xml. I am using SAX parser to do so. i have set the class path for JAXP.jar and Parser.jar in my class path. The code is compiling fine but when i execute the code its giving an error.
I need to move this thread to a more appropriate forum. This forum is for Servlets question. Your question is about SAX and XML.
Also there is a set of buttons under the Add Reply button when creating a thread or a reply. These buttons can really help with formatting. The one that says "CODE" can create tags that wrap around code and it will keep its format/tabbing/and spacing, to make nice and easy to read code.
Do you have a SAX parser implementation in your classpath? If it is, and the XMLReaderFactory still complains about the system property missing, I guess you need to add it yourself (java ... -Dorg.xml.sax.driver=com.parser.impl.BlahBlah ... MyApplication).