<?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>5542</bug_id>
          
          <creation_ts>2008-03-07 01:32:09 +0000</creation_ts>
          <short_desc>How are SML URIs absolutized</short_desc>
          <delta_ts>2008-11-06 00:45:54 +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+Interchange Format</component>
          <version>LC</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>externalComments, reviewerSatisfied</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          <blocked>5707</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Pratul Dublish">pratul.dublish</reporter>
          <assigned_to name="Virginia Smith">virginia.smith</assigned_to>
          <cc>ht</cc>
    
    <cc>virginia.smith</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>19339</commentid>
    <comment_count>0</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-03-07 01:32:09 +0000</bug_when>
    <thetext>From http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2008Mar/0002.html

2) It&apos;s not stated whether SMLURIs are interpreted wrt a base URI if
   they are not absolute, i.e. how they are absolutized.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19465</commentid>
    <comment_count>1</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-03-13 19:51:24 +0000</bug_when>
    <thetext>resolution (3/13 conf call): 

For quick reference, the relevant text in the LC draft is shown below:

From section &quot;4.3.1 SML URI Reference Scheme&quot;, bullet 2.a:

a. If the URI is a relative reference, then use an implementation-dependent base URI to resolve it to an URI.

---
The SML WG believes that the current text in the LC draft resolves this issue fully.  I&apos;m changing its status accordingly.

The change in status should cause email to be sent to the originator of this
issue, to whom the following request is addressed.

Please review the current LC text and let us know if you agree with this
resolution of your issue, by adding a comment to the issue record. Or, if you
do not agree with this resolution, please add a comment explaining why. If we
do not hear from you in the next two weeks, we will assume you agree with the
WG decision.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19884</commentid>
    <comment_count>2</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2008-04-18 14:00:29 +0000</bug_when>
    <thetext>I&apos;m very unhappy with the fix -- surely the right thing to do is a) require the use of the base URI property and b) encourage, if not mandate, XML Base support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20438</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-06-12 20:06:26 +0000</bug_when>
    <thetext>Judging by comment #2, I think it must have been an oversight that
Henry as the originator did not reopen this issue to indicate dissatisfaction,
as suggested in comment #1.  To simplify tracking, I&apos;m going to reopen it
then, partly on Henry&apos;s behalf and partly on my own, since I have been
persuaded that he is right and that the SML WG should adopt the plan
given in comment #2.

Unfortunately, I don&apos;t know what changes need to be made to the keywords
to do the job properly, so the keywords may be out of synch with what
they need to be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21217</commentid>
    <comment_count>4</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-07-17 18:31:58 +0000</bug_when>
    <thetext>As per the discussion in Edinburgh, the issue spans both IF and core. See John&apos;s proposal for a possible update to IF http://lists.w3.org/Archives/Public/public-sml/2008Jul/0019.html </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21218</commentid>
    <comment_count>5</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-07-17 19:19:40 +0000</bug_when>
    <thetext>Resolution in 7/17 call for IF spec
adopt the proposal a) bullets 2-5 in John&apos;s email http://lists.w3.org/Archives/Public/public-sml/2008Jul/0019.html  

   2. Support for smlif:baseURI is optional for smlif producers 
   3. Support for smlif:baseURI is optional for smlif consumers 
   4. Support for xml:base is required for smlif producers 
   5. Support for xml:base is optional for smlif consumers


 and b) a statement that &quot;the intention of the authors of this spec is to deprecate this feature if a future version is introduced&quot;  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21219</commentid>
    <comment_count>6</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-07-17 19:42:14 +0000</bug_when>
    <thetext>In addition to Comment #5, the WG agreed to the following additional changes


In IF, we additionally describe how [base URI] is computed, from either smlif:baseURI or xml:base, whichever is supported by the consumer.
In core (definition of SML URI scheme), require the use of [base URI] property and say that its computation is  impl-defined, but need to be consistent with the 4 steps described by the relevant RFC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21318</commentid>
    <comment_count>7</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2008-07-24 15:58:47 +0000</bug_when>
    <thetext>I can live with this compromise, provided
 a) You deprecate the use of smlif:baseURI forthwith for producers (after all, it&apos;s only being supported now for backwards compatibility, so it should not be a problem to strongly suggest that new docs should not use it);
 b) The algorithm for computing [base URI] makes clear that in the presence of _both_ annotations, xml:base &apos;wins&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21320</commentid>
    <comment_count>8</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-07-24 17:30:43 +0000</bug_when>
    <thetext>For what it&apos;s worth, I can also live with the compromise described
in comment #5 and comment #6, which I understand as being 
essentially what was proposed by John Arwe in his mail of 9 July at
http://lists.w3.org/Archives/Public/public-sml/2008Jul/0019.html
(If there&apos;s an important difference, then I&apos;ve missed something
and this statement of agreement is worthless.)

Like Henry in comment #7 and John in the email mentioned, 
I think it&apos;s essential to specify a behavior for
the case where both mechanisms are used, and I agree with both
of them that &quot;xml:base wins&quot; is the right answer.

Like Henry, I think it would be better to go ahead and 
discourage the use of smlif:baseURI beginning now, rather than
promising that we&apos;ll begin to discourage it later.  I&apos;m not sure
how much importance I assign to it, though (that is, I don&apos;t know
whether I&apos;ll lie down in the road with Henry, or leave
him to hold the road down by himself on this one).

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21323</commentid>
    <comment_count>9</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-07-24 19:13:22 +0000</bug_when>
    <thetext>Additional resolution on 7/24 call

Consumer must support must at least one smlif:baseURI and xml:base. 
 The smlif:baseURI feature is supported in this version of this specification for compatibility reasons.  It is, however, deprecated and may be removed in a future version of this specification


Address 7b with the following
Compute from xml:base, if that fails, use smlif:baseURI (this applies to a consumer that supports both baseURI and xml:base)
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21328</commentid>
    <comment_count>10</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2008-07-25 10:38:55 +0000</bug_when>
    <thetext>I am satisfied with the proposed resolution as amended</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21576</commentid>
    <comment_count>11</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-08-15 20:24:09 +0000</bug_when>
    <thetext>Fixed SML spec only. Section 4.3.1, bullet 2 is rewritten (with Sandy&apos;s help). See that section for the new text.

SML-IF still to be fixed so this is still editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21615</commentid>
    <comment_count>12</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-08-21 17:48:22 +0000</bug_when>
    <thetext>Latest proposal for SML-IF spec: http://lists.w3.org/Archives/Member/member-sml/2008Aug/0026.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21675</commentid>
    <comment_count>13</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-08-28 18:24:43 +0000</bug_when>
    <thetext>&lt;johnarwe_&gt; we had a draft last night.  ginny responded with a request to add:
            If an SML-IF consumer supports both mechanisms and the interchange
            model document it is consuming contains markup for both
            mechanisms, then the SML-IF consumer MUST use the xml:base
            mechanism to compute all [base URI] properties in the model
            document                                                  

resolution on 8/28: the draft sent by John with the above sentence added is approved as the fix for 5542.                                   
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21677</commentid>
    <comment_count>14</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-08-28 18:34:07 +0000</bug_when>
    <thetext>additional resolution on 8/28: remove needsReview</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21686</commentid>
    <comment_count>15</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-08-29 17:19:40 +0000</bug_when>
    <thetext>Fixed per comment #13, removed &apos;needsReview&apos; per comment #14.

See diff at:
http://www.w3.org/2007/10/htmldiff?doc1=http%3A%2F%2Fdev.w3.org%2Fcvsweb%2F~checkout~%2F2007%2Fxml%2Fsml%2Fbuild%2Fsml-if.html%3Frev%3D1.175%26content-type%3Dtext%2Fhtml%3B%2520charset%3Diso-8859-1&amp;doc2=http%3A%2F%2Fdev.w3.org%2Fcvsweb%2F~checkout~%2F2007%2Fxml%2Fsml%2Fbuild%2Fsml-if.html%3Frev%3D1.176%26content-type%3Dtext%2Fhtml%3B%2520charset%3Diso-8859-1#Base_URI

Changes are in sections 4.5, 5.3.2 - 5.3.4, 6.1.

Also, the 2nd note in 5.3.2 is changed slightly from the proposal. The 2nd paragraph now reads:

&quot;Consistency checking of base URI results by SML-IF consumers is made optional to avoid requiring the potential overhead of performing twice as many calculations per relative reference as is minimally required to consume the model. An SML-IF consumer might choose to check base URI mechanism consistency based on input parameters, always, never, or based on any other criteria it chooses. &lt;change&gt;If both base URI mechanisms are used in a given interchange model document contained within a conforming SML-IF document, and a consumer understands both mechanisms, such a consumer must use the xml:base mechanism to compute the [base URI] property. This consumer may choose to ignore the smlif:baseURI information or it may choose to verify that consistent results are obtained from both mechanisms.&lt;/change&gt; If both base URI mechanisms are used in a given interchange model document contained within a non-conforming SML-IF document, SML-IF provides no guarantees about the consistency of any [base URI] property computed using both mechanisms.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22365</commentid>
    <comment_count>16</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-11-06 00:45:54 +0000</bug_when>
    <thetext>The XML Schema WG endorsed this bug in http://www.w3.org/Bugs/Public/show_bug.cgi?id=5513#c10 (see also http://www.w3.org/Bugs/Public/show_bug.cgi?id=5513#c11 ).

I am contacting Schema&apos;s chair again today to solicit their formal feedback once again.  I am also leaving the keywords alone, because (a) the original submitter ...Henry... did in fact say here he was satisfied (b) the SML wg appears to have met the spirit of the URI issue raised in the endorsement above that was split off into this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>