Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Problem with "Missing scheme in absolute URI reference"

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Peter Murray-Rust <pm286 AT cam.ac.uk>
  • To: elharo AT metalab.unc.edu
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Problem with "Missing scheme in absolute URI reference"
  • Date: Thu, 01 Jan 2009 23:46:35 +0000

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.





Archive powered by MHonArc 2.6.24.

Top of Page