Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Inconsistent xml:id sanity checks

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <wolfgang.hoschek AT mac.com>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Inconsistent xml:id sanity checks
  • Date: Tue, 28 Mar 2006 16:35:10 -0800

Thanks. Makes sense to me.
Wolfgang.

On Mar 28, 2006, at 4:31 PM, Elliotte Harold wrote:

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 mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest





Archive powered by MHonArc 2.6.24.

Top of Page