<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4658</bug_id>
          
          <creation_ts>2007-06-17 18:21:32 +0000</creation_ts>
          <short_desc>How should deref() treat multiple child elements that use the same reference scheme</short_desc>
          <delta_ts>2007-10-20 03:35:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SML</product>
          <component>Core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>SML references</status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pratul Dublish">pratul.dublish</reporter>
          <assigned_to name="Kumar Pandit">kumarp</assigned_to>
          <cc>bassamt</cc>
          
          <qa_contact name="SML Working Group discussion list">public-sml</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15451</commentid>
    <comment_count>0</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-06-17 18:21:32 +0000</bug_when>
    <thetext>What should be the semantics of the smlfn:deref() function if a reference element has multiple child elements that represent the reference using the same scheme? E.g.,

&lt;EnrolledCourse xmlns=&quot;http://www.university.example.org/ns&quot;  sml:ref=&quot;true&quot;&gt;
        &lt;sml:uri&gt;SomeValidUri&lt;/sml:uri&gt;
        &lt;sml:uri&gt;AnotherValidUri&lt;/sml:uri&gt;
&lt;/EnrolledCourse&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15865</commentid>
    <comment_count>1</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-07-18 23:36:53 +0000</bug_when>
    <thetext>*** Bug 4825 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16284</commentid>
    <comment_count>2</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-08-28 03:27:54 +0000</bug_when>
    <thetext>A simple solution is to say that a reference scheme can be used at most once in a reference element, so this example will result in error

EnrolledCourse xmlns=&quot;http://www.university.example.org/ns&quot;  sml:ref=&quot;true&quot;&gt;
        &lt;sml:uri&gt;SomeValidUri&lt;/sml:uri&gt;
        &lt;sml:uri&gt;AnotherValidUri&lt;/sml:uri&gt;
&lt;/EnrolledCourse&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16298</commentid>
    <comment_count>3</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2007-08-28 13:26:59 +0000</bug_when>
    <thetext>adding &apos;SML references&apos; whiteboard to group all related defects</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16835</commentid>
    <comment_count>4</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2007-09-27 03:10:58 +0000</bug_when>
    <thetext>I like the solution in section 3 &quot;How are schemes defined?&quot; from the Reference proposal.

	How is a scheme recognized. That is, there is a set of rules that, when satisfied, identify elements with sml:ref=&quot;true&quot; as instances of this scheme. (e.g. for the &quot;uri/iri&quot; scheme, the rule can include: there is one and only one sub-element named &lt;sml:uri&gt;, whose value is xs:anyURI.)  That is, either a reference element is an instance of (or an example of, or uses) a scheme, or it is not. How many instances of a reference scheme does an SML reference R use/include is an ill-formed question.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17247</commentid>
    <comment_count>5</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-10-16 21:37:56 +0000</bug_when>
    <thetext> Resolution is to fix as per Sandy&apos;s sml reference proposal.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>