atom feed7 messages in org.jdom.jdom-interest[jdom-interest] jdom2 runtime
FromSent OnAttachments
Craig ChristophersenAug 21, 2012 10:23 am 
Rolf LearAug 21, 2012 11:38 am 
Craig ChristophersenAug 21, 2012 12:10 pm 
Rolf LearAug 21, 2012 12:22 pm 
Craig ChristophersenAug 21, 2012 12:36 pm 
Rolf LearAug 21, 2012 1:31 pm 
Craig ChristophersenAug 21, 2012 1:58 pm 
Subject:[jdom-interest] jdom2 runtime
From:Craig Christophersen (crai@synesis7.com)
Date:Aug 21, 2012 10:23:16 am
List:org.jdom.jdom-interest

Hello;

While I now have jdom2 compiling OK in an application, I am running into runtime problems with SAXBuilder.

With previous jdom both SAXBuilder builder = new SAXBuilder(); and SAXBuilder builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser"); worked for constructing a SAXBuilder.

Question:

So now to use new SAXBuilder() (which uses JAXP) do I need something additional in my classpath??

Or is there somewhere I can see an example of what is mentioned in the migration guide --- Deprecated. use <http://www.jdom.org/docs/apidocs/org/jdom2/input/SAXBuilder.html#SAXBuilder %28org.jdom2.input.sax.XMLReaderJDOMFactory%29> SAXBuilder(XMLReaderJDOMFactory) with <http://www.jdom.org/docs/apidocs/org/jdom2/input/sax/XMLReaderSAX2Factory.h tml#XMLReaderSAX2Factory%28boolean,%20java.lang.String%29> XMLReaderSAX2Factory.XMLReaderSAX2Factory(boolean, String)?

Thanks,

Craig Christophersen

Software Developer

Synesis7