[XOM-interest] Problem with "Missing scheme in absolute URI reference"
Elliotte Harold
elharo at metalab.unc.edu
Thu Jan 1 11:10:19 EST 2009
Peter Murray-Rust wrote:
> A gentle suggestion would be to be able to configure XOM to hide some of
> this. Basically "I know what I want to do and it uses simple XML ideas
> and doesn't need the complexity of DTDs, Schemas or whatever. I'll take
> my chances on in working as I would like". For many of us (as I have
> argued consistently since XML started) Xerces and XMLSchema are vastly
> more complex than we require and they cause us more problems than they
> solve. If it weren't for XOM I would have great problems in using XML.
Schemas are not turned on by default, and indeed are not part of the XOM
model at all.
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.
--
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