Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

Re: SV: SV: [jdom-interest] One less TODO item

Elliotte Rusty Harold

2003-10-07

Replies:

At 2:07 PM -0400 10/7/03, Elliotte Rusty Harold wrote:

>I'm not sure if Xerces is correctly updating the XML parser with the
>actual redirected base URI or not. I should write a test case for
>that and find out.
>

I've now written the test case. See
http://www.cafeconleche.org/redirecttest.xml
(with validation turned on to make sure the DTD loads). Xerces is
*not* using the right base URI. libxml gets this wrong too. I'll file
the bug with Apache.

Hmm, looks like I already did. See
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20383
Bugzilla says it was fixed in CVS a couple of weeks after the release
of Xerces-J 2.5, so presumably the fix will show up in 2.6 which last
I heard was due in November.

Once that's done, all JDOM should need to do is bundle Xerces 2.6 or
later and make sure it's used instead of the JDK default parser and
this should all take care of itself.

--

 Elliotte Rusty Harold
 elharo@(protected)
 Processing XML with Java (Addison-Wesley, 2002)
 http://www.cafeconleche.org/books/xmljava
 http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.