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

Elliotte Rusty Harold elharo at
Tue Oct 7 11:07:17 PDT 2003

Also relevant to this consider the case of a redirected request. RFC 
2396 states

If no base URI is embedded and the document is not encapsulated
    within some other entity (e.g., the top level of a composite entity),
    then, if a URI was used to retrieve the base document, that URI shall
    be considered the base URI.  Note that if the retrieval was the
    result of a redirected request, the last URI used (i.e., that which
    resulted in the actual retrieval of the document) is the base URI.

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.


   Elliotte Rusty Harold
   elharo at
   Processing XML with Java (Addison-Wesley, 2002)

More information about the jdom-interest mailing list