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 18:25:45 +0000

Elliotte Harold wrote:
Peter Murray-Rust wrote:

"<?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/>",


The problem with this one seems to be that Xerces is passing "%SVGNamespace;" as the namespace URL for the root element, rather than "http://www.w3.org/svg/whatever";. This looks like an unresolved parameter entity reference. Possibly it's a Xerces bug. I still need to look further. But it does still feel like there's a real bug here that XOM is warning you about.

You will probably explore quicker than me, but the DTD in :

http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd

reads (excluding comments) :

<!ENTITY % StylableSVG "INCLUDE" >
<!ENTITY % ExchangeSVG "IGNORE" >
<!ENTITY % SVGNamespace "http://www.w3.org/2000/svg-20000303-stylable"; >
<!ENTITY % Shared PUBLIC "-//W3C//DTD SVG 20000303 Shared//EN" "svg-20000303-shared.dtd" >
%Shared;

and so presumably declares the parameter entity...

P.






Archive powered by MHonArc 2.6.24.

Top of Page