Joseph Kesselman wrote:

As to whether IDness _should_ persist once established... I'm not
convinced. If you don't have a schema, all you really know is that you
don't know. A bogus true could be as misleading as a bogus false. And
consider the case where your doc recombination has created two elements
with the same ID -- validation would complain about that, but it isn't
clear you want to get into doing that check every time you alter the
document. "The shortest distance between two valid docs is often through an
invalid doc."

There are definitely arguments on both sides here, but what really convinces me that preserving IDness is right is that the IDness, more specifically the attribute type, is part of the Infoset.


That document edits could make it invalid doesn't bother me. Multiple ID type attributes are hardly the only way a document could become invalid after modification.

--
Elliotte Rusty Harold  [EMAIL PROTECTED]
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to