Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: complex uniqueness

From: "Michael Kay" <mike@--------.--->
To: "'AYDOS Carlos C'" <Carlos_AYDOS@---.---.---.-->, <xmlschema-dev@--.--->
Date: 9/20/2005 1:03:00 PM
The subset of XPath allowed in specifying uniqueness constraints doesn't
allow predicates, and doesn't allow use of the sibling axes, so I don't
think this is possible.

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: xmlschema-dev-request@w... 
> [mailto:xmlschema-dev-request@w...] On Behalf Of AYDOS Carlos C
> Sent: 20 September 2005 09:05
> To: xmlschema-dev@w...
> Subject: complex uniqueness
> 
> 
> Hi,
> 
> Does anyone knows if its possible to create a xs:key to 
> guarantee that the below instance document could have a 
> uniqueness constraint among names A,B,C,D of only the 2nd,3rd 
> and 4th pointSets (they are linked via the attribute 'extends')
> 
> Carlos
> 
> <root>
> 	<pointSet type="ordinary">
> 		<point name="A"/>
> 		<point name="B"/>
> 	</pointSet>
> 	<pointSet type="basic">
> 		<point name="A"/>
> 		<point name="B"/>
> 	</pointSet>
> 	<pointSet type="complex" extends="basic">
> 		<point name="C"/>
> 	</pointSet>
> 	<pointSet type="verycomplex" extends="complex">
> 		<point name="D"/>
> 	</pointSet>
> </root>
> 
> IMPORTANT NOTICE: This e-mail and any attachment to it are 
> intended only to be read or used by the named addressee. It 
> is confidential and may contain legally privileged 
> information. No confidentiality or privilege is waived or 
> lost by any mistaken transmission to you. The RTA is not 
> responsible for any unauthorised alterations to this e-mail 
> or attachment to it. Views expressed in this message are 
> those of the individual sender, and are not necessarily the 
> views of the RTA. If you receive this e-mail in error, please 
> immediately delete it from your system and notify the sender. 
> You must not disclose, copy or use any part of this e-mail if 
> you are not the intended recipient.
> 
> 



From K.Buchcik@4... Wed Sep 21 10:05:07 2005
Received: from maggie.w3.org ([193.51.208


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent