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

Elliotte Harold elharo at metalab.unc.edu
Sun Jan 4 15:56:01 EST 2009


Tatu Saloranta wrote:

> Apologies for wild speculation here, but one case I have seen myself (wrt. sample svg documents) is the use of default attribute value definition to provide the default namespace declaration.
> This seems like a convoluted thing to me, but is legal as per xml & xml namespaces specs; and such a test is part of XMLTest test suite.
> Similarly one can provide default namespace bindings for explicit prefixes.
> 
> Could this be what brings in the broken default namespace declaration?

Yes, that's why the namespace is appearing. The DTD provides a default 
attribute value. The tricky bit is why the default attribute value is 
%SVGNamespace; instead of the value of the parameter entity reference, 
but I suspect you're right about that too.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Refactoring HTML Just Published!
http://www.amazon.com/exec/obidos/ISBN=0321503635/ref=nosim/cafeaulaitA


More information about the XOM-interest mailing list