W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2004

Impact of the usage of unique identifier as URN into XML document s ?

From: Hess Yvan <yvan.hess@imtf.ch>
Date: Mon, 15 Mar 2004 11:52:22 +0100
Message-ID: <DF7EC83D7AFBD411965B0008C7596EC5E0D4B0@imtfexchange.imtf.ch>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>

In the context of our applications, we have choose to use URN as the
standard form of our generated documents identifier. Here is an example:

<document id="urn:hsc:EFECD0FF-C0A8021C08DEE071-D030940E">
  <blabla></blabla>
</document>

This form is not compatible with ID/IDREF type provided by XML schema but is
compatible with key/keyref mechanism. In the context of our schema we
defined it as follow:

<xs:key name="DocIdentifier">
  <xs:selector xpath="."/> 
  <xs:field xpath="@id"/>
</xs:key>

It works fine, but I don't know the future impacts/limitation of such
choice, specially concerning the usage of URN as unique identifier in
conjunction with others XML technologies. Does anybody have any comments,
suggestions or best practices about this subject? Can you see future
limitation?

Thanks for your answer

Yvan


Yvan Hess
Chief Software Architect

e-mail: yvan.hess@imtf.ch
phone : +41 (0)26 460 66 66 
fax   : +41 (0)26 460 66 60 

Informatique-MTF SA
Route du Bleuet 1 
CH-1762 Givisiez 
        
Systemintegrators for eDocuments 
http://www.imtf.com

DISCLAIMER 
This message is intended only for use by the person to whom it is addressed.
It may contain information that is privileged and confidential. Its content
does not constitute a formal commitment by IMTF. If you are not the intended
recipient of this message, kindly notify the sender immediately and destroy
this message. Thank You.
Received on Monday, 15 March 2004 05:58:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:40:23 UTC