[XOM-interest] Problem with "Missing scheme in absolute URI reference"
Peter Murray-Rust
pm286 at cam.ac.uk
Thu Jan 1 13:19:01 EST 2009
Elliotte Harold wrote:
> Peter Murray-Rust wrote:
>> java.io.FileNotFoundException:
>> http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/nonexistent.dtd
>> ____
>
>
> That is a XOM error message. I suspect it's having trouble resolving a
> relative URL. Note that this has nothing to do with namespaces. It
> simply needs to load a DTD or piece thereof from a URL, and the URL
> isn't giving it enough information to do so. Or at least I think that's
> what's happening. I'm still digging.
>
Perhaps I should have been clearer - this example was designed to fail
because there is no DTD at that address - and it behaves correctly. The
other two examples reference existing DTDs on the W3C and do not throw
this message. Of those other DTDs, one seems to work OK and the other
shows the problem.
P
More information about the XOM-interest
mailing list