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

Peter Murray-Rust pm286 at cam.ac.uk
Thu Jan 1 11:19:32 EST 2009


Many thanks...

Elliotte Harold wrote:
> Peter Murray-Rust wrote:
> 
> 
> Schemas are not turned on by default, and indeed are not part of the XOM 
> model at all.

Understood and welcomed.
> 
> However the design of XML is such that XOM cannot guarantee proper 
> parsing unless it reads the entire DTD. Blame entity references and 
> attribute value normalization. Yes, that's a design flaw in XML, but 
> it's one XOM has to live with. This is why XOM deliberately always reads 
> the entire DTD.
> 
I accept this (reluctantly). Could not XOM parse the standalone="yes" 
message and so not pass the DTD address to Xerces?). I still don't 
understand where the error message comes from but it must be somewhere 
in the DTD structure on the W3C pages. I don't understand why a DTD has 
to reference a namespaceURI at all and why the error is generated in the 
way it is. Is Xerces producing a misleading error message? And is the 
W3C spec in error (it validates on their pages) or does Xerces report a 
spurious error?

P.


More information about the XOM-interest mailing list