Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Use of key/keyref - any best practices? warnings?

From: "Jack Lindsey" <tuquenukem@-------.--->
To: lists@----------.---
Date: 2/28/2005 5:57:00 PM
Thanks Jeff:

Seems you are right.  I was convinced I had tried both variants to no avail 
but this time @my:clientId worked fine.

my:@clientId on the other hand produced the same error messages I had seen 
before informing me that this was "invalid in the context of the subset of 
xpath supported by xml schema" or "an invalid restricted xpath expression".  
I was obviously reading too much into these messages when they were in fact 
just polite forms of "What the.....?".

Cheers Jack

>From: Jeff Rafter <lists@j...>
>Reply-To: lists@j...
>To: Jack Lindsey <tuquenukem@h...>
>CC: mike@s...,  nwh@a...,  xmlschema-dev@w...
>Subject: Re: Use of key/keyref - any best practices? warnings?
>Date: Wed, 27 Jul 2005 19:37:28 -0700
>
>
>>But this is not:
>>
>>         <xs:key name="KeyClientById">
>>             <xs:selector xpath="my:Clients/my:Client"/>
>>             <xs:field xpath="my:@clientId"/>
>>         </xs:key>
>
>Haven't tested it, but shouldn't that be:
>
>           <xs:field xpath="@my:clientId"/>
>
>BTW, which validator were you using to test this? I would like to try it 
>when I run my tests (when I get a chance).
>
>Cheers,
>Jeff Rafter
>

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


From vivekorama@g... Tue Mar 01 08:17:49 2005
Received: from wiggum.w3.or


transparent
Print
Mail
Like It
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