[XOM-interest] Missing scheme in absolute URI

Elliotte Harold elharo at metalab.unc.edu
Mon Jul 30 18:47:35 EDT 2007


Christian Voss wrote:
> Hi, 
> 
> I have to parse XML responses from a web service.
> The responses contain non-absolute namespace URIs 
> (xmlns="xmlapi_1.0") and are therefore rejected by the parser with:
> "Missing scheme in absolute URI ..."
> 
> Is there any possibility to make the parser less restricting?
> 

You'd have to convince me that the generator of those documents should 
not be fixed. Relative namespace URIs are strongly discouraged, and they 
do not have an infoset.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


More information about the XOM-interest mailing list