[XOM-interest] Problem with "Missing scheme in absolute URI reference"
Peter Murray-Rust
pm286 at cam.ac.uk
Thu Jan 1 13:25:45 EST 2009
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.
More information about the XOM-interest
mailing list