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

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Oct 7 11:52:36 PDT 2003


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 at metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA



More information about the jdom-interest mailing list