Re: key/keyref problem and XSV

Henry S. Thompson wrote:

> Eric van der Vlist <vdv@dyomedea.com> writes:
> 
> 
>>I am working on key/keyref and XSV (XSV 1.203/1.106 of 2001/09/03 16:31:12)
>>doesn't seem to follow our conclusions:
>>
> 
> <snip/>
> 
>>Is-it a XSV bug or anything else I have got wrong?
>>
> 
> It was a non-feature, now (1.203/1.108) implemented 


Great!

Just a very minor comment, though :) ...the error message (no key) when 
the key is duplicated such as in:

<doc>
  <section>
   <key id="1"/>
   <key id="2"/>
  </section>
  <section>
   <key id="3"/>
   <key id="2"/>
  </section>
  <ref ref="1"/>
  <ref ref="2"/>
</doc>

is misleading:

<invalid char='2' code='cvc-identity-constraint.2.3.2' line='11' 
resource='key-keyref-wrong.xml'>no key in {None}:key for 2</invalid>

> --I'd missed it in my last trawl of 'TODO' items, sorry.


Thanks for this reference implementation, it's very useful.

Eric

> 
> NOTE: this may cause other previously 'invalid' documents to become OK!
> 
> ht
> 


-- 
See you in Scottsdale, Arizona.
      http://xmlconnections.com/xml/xmlfall2001/speakers.asp#evandervlist
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------

Received on Monday, 24 September 2001 08:57:57 UTC