W3C home > Mailing lists > Public > public-sml@w3.org > June 2007

[Bug 4684] Can sml:keyref refer to an xs:key/unique?

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Jun 2007 17:26:58 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1I1QQs-0000Sa-Oj@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4684

           Summary: Can sml:keyref refer to an xs:key/unique?
           Product: SML
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: public-sml@w3.org


For example, is the following allowed? Or should sml:keyref only be able to
refer to sml:key/unique?

<xs:element name="e" type="t">
 <xs:annotation>
  <xs:appinfo>
   <sml:keyref name="myRef refer="tns:myKey">
    ...
   </sml:keyref>
  </xs:appinfo>
 </xs:annotation>

 <xs:key name="myKey">
  ...
 </xs:key>
</xs:element>
Received on Thursday, 21 June 2007 17:27:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:16:53 GMT