Re: [Bug 9953] Top level ID element: tests invalidated by decision on bug #9922

On 21 Jun 2010, at 03:54 , bugzilla@jessica.w3.org wrote:

> http://www.w3.org/Bugs/Public/show_bug.cgi?id=9953
>
>
>
>
>
> --- Comment #3 from Michael Kay <mike@saxonica.com>  2010-06-21  
> 09:54:30 ---
> I have written a stylesheet that modifies the schemas and instance  
> documents
> for the atomic-ID and list-ID tests by adding a wrapper element  
> around the
> xs:ID element. The modified tests now deliver the original expected  
> result.
> These new instance documents and schemas (as well as the conversion  
> stylesheet)
> are in my local filestore; I will commit them as soon as the WG  
> endorses this
> resolution.


Would it be helpful / thrifty to clone at least some of these,
rather than updating them in place, to ensure that we have
tests that check for a root element of type ID and mark it
invalid?  I suppose it's pointless to do this with all of the
variants on ID that are covered in the NIST tests, but I'd hate
to lose the opportunity to expand our coverage here.

(Design issue here, perhaps:  as a matter of policy NIST did
not create any tests of invalid input, so retaining the original
test data with a prescribed outcome of 'invalid' might feel like
a violation of their design principles; does that matter?  If
it does, then perhaps I should just plan to include a few tests
on root elements of type ID in the wgData collection.)

-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com
* http://cmsmcq.com/mib
* http://balisage.net
****************************************************************

Received on Tuesday, 22 June 2010 23:33:14 UTC