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: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Peter Murray-Rust <pm286 AT cam.ac.uk>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Problem with "Missing scheme in absolute URI reference"
  • Date: Thu, 01 Jan 2009 08:10:19 -0800

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




Archive powered by MHonArc 2.6.24.

Top of Page