[jdom-interest] JDOM, Resin 2.0.13 org.jdom.*
John Rosocha
john at clandecadence.com
Thu May 12 17:10:22 PDT 2005
Is there a means implicitly set the SAX parser used in JDOM?
Tatu Saloranta wrote:
>--- John Rosocha <john at clandecadence.com> wrote:
>
>
>>I've read this thread. It suggests that the problem
>>is Neko. In my
>>example I am using org.jdom.input.SAXBuilder(). Is
>>that not part of
>>JDOM? Or is some oter library being called in some
>>fashion?
>>
>>
>
>Well, that method just uses the default SAX parser
>implementation, obtained via JAXP. So the instance
>will not be created by JDom, just used by JDom.
>
>
>
>>I see calls to com.caucho.xml.* in the stack trace.
>>Does JDOM access
>>outside parsers in some fashion?
>>
>>
>
>Yes: JDom is basically the tree model (builder,
>serializer) built on top of a low-level parser;
>typically Xerces or Crimson (default in JDK 1.4), but
>something else in your case.
>
>Apparently the one used in this case does not have
>namespace-handling enabled (or implemented...), and is
>producing local names namespace-aware processors (like
>JDom) apparently doesn't like (such local names are
>not legal in namespace-aware mode).
>
>-+ Tatu +-
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>To control your jdom-interest membership:
>http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
>
>
>
>
>
More information about the jdom-interest
mailing list