xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Inconsistent xml:id sanity checks
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: Re: [XOM-interest] Inconsistent xml:id sanity checks
- Date: Tue, 28 Mar 2006 19:31:59 -0500
I've been having trouble making up my mind about this one. At the moment though here's my *tentative* decision:
1. Requiring ID type attributes to be NCNames is a validity constraint.
2. XOM does not generally enforce validity constraints.
3. Therefore XOM is simply never going to check whether xml:id attribute values are or are not NCNames.
On the other side, I still feel that assigning a non-NCName as an ID value is likely a mistake and perhaps should be flagged; so if anyone feels strongly this is the wrong decision, speak up. There's a very good chance you can change my mind about this and restore the current stricter behavior if that's what anyone wants.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
-
[XOM-interest] Inconsistent xml:id sanity checks,
Wolfgang Hoschek, 03/12/2006
-
Re: [XOM-interest] Inconsistent xml:id sanity checks,
Elliotte Harold, 03/20/2006
-
Re: [XOM-interest] Inconsistent xml:id sanity checks,
Elliotte Harold, 03/20/2006
-
Re: [XOM-interest] Inconsistent xml:id sanity checks,
Elliotte Harold, 03/28/2006
- Re: [XOM-interest] Inconsistent xml:id sanity checks, Wolfgang Hoschek, 03/28/2006
- Re: [XOM-interest] Inconsistent xml:id sanity checks, John Cowan, 03/28/2006
-
Re: [XOM-interest] Inconsistent xml:id sanity checks,
Elliotte Harold, 03/28/2006
-
Re: [XOM-interest] Inconsistent xml:id sanity checks,
Elliotte Harold, 03/20/2006
-
Re: [XOM-interest] Inconsistent xml:id sanity checks,
Elliotte Harold, 03/20/2006
Archive powered by MHonArc 2.6.24.