Validating Link/XPointer local 'bare names'.

Hi,

I am trying to use XLink/XPointer local 'bare names' to specify links
for nodes within the same document.

This means that I'll have a key definition like:

	<character id="character_Snoopy">

and a reference like:

	<character xlink:href="#character_Snoopy" xlink:type="simple"/>


And I wonder how I can validate (to check the existence of the
references) this kind of document.

The DTD or XML Schemas ID/IDREF mecanism and even the more flexible
key/keyref XML Schemas cannot validate references which are not strictly
equals to their definition and in this case, the "#" character needs to
be added to the reference.

Do you have any hints on how this issue could be handled ?

Thanks

Eric

[1] http://www.w3.org/TR/xptr#bare-names
-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

Received on Friday, 1 September 2000 13:45:21 UTC