[XOM-interest] Problem with "Missing scheme in absolute URI reference"
Peter Murray-Rust
pm286 at cam.ac.uk
Thu Jan 1 18:46:35 EST 2009
Elliotte Harold wrote:
>
> I may have spoken too soon. libxml agrees with xerces:
>
> ~/tmp$ xmllint --loaddtd tests.xml<?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE svg SYSTEM
> "http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
>
> <svg xmlns="%SVGNamespace;"/>
>
>
> There's still a real bug here, but it's likely in the DTD design, not
> Xerces. Pretty obviously, the DTD does not say what its authors
> intended. Again, I claim this as a win for XOM, since it detected the
> bug when both Xerces and libxml let it pass without comment. :-)
>
Thanks again,
Clearly it's a victory for XOM.
It sounds like the bug should be reported to the SVG group - I'll do
that if I can find a contact. I don't think the DTD is obsolete and if
so they need to mend it. I'll point them to this list.
I have an equivocal relationship with Xerces - although we appreciate it
as a high-quality comprehensive tool it is not at all easy to navigate
and configure. Before XOM I used to try to wrap it as a subclassable
parser and it wasted a lot of time - incompatible versions - difficulty
of distribution (alathough maven has made a big difference). Problems
like today's bug wasted a lot of time.
So using XOM as a modelling language has been enormously productive.
P.
More information about the XOM-interest
mailing list