[jdom-interest] How to get the XML Decl with JDOM?

Fred Clewis clewisf at us.ibm.com
Mon Nov 5 12:23:06 PST 2001


Alex,

As far as I can tell the Xerces2 Java Parser 2.0.0 (beta3) does not support
the Locator2 extensions.
You recall, I was looking for the getEncoding() method.

Also, I don't even see it in the SAX 2.0 r2 prerelease 2.  Although, both
seem to blab about it in the API docs.

Assuming I did find it somewhere, I need to better understand the ways that
I can alter my XML processing tool stack.

1. JDOM ships with a Xerces version. Is it advisable to upgrade that Xerces
version?

2. A particular Xerces version includes SAX packages.  Is it advisable to
upgrade the Sax version?

thanks for your advise,

Fred Clewis

>From: "Alex Rosen" <arosen at silverstream.com>
>To: "'Fred Clewis'" <fclewis at carolina.rr.com>, <jdom-interest at jdom.org>
>Subject: RE: [jdom-interest] How to get the XML Decl with JDOM?
>Date: Mon, 29 Oct 2001 11:12:20 -0500
>
>(1) Check the JDOM FAQ for the current answer.
>
>However, is this answer still completely true? It looks like the SAX2
>"extensions" provides this info now:
>http://sax.sourceforge.net/apidoc/org/xml/sax/ext/Locator2.html. Anyone
know
>anything about these extensions, and which parsers implement them?
>......




More information about the jdom-interest mailing list