<?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>4872</bug_id>
          
          <creation_ts>2007-07-19 21:52:34 +0000</creation_ts>
          <short_desc>SML shouldn&apos;t reference xpointer</short_desc>
          <delta_ts>2007-10-16 23:35:58 +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>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4636</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Grosso">pgrosso</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <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>15887</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Grosso">pgrosso</who>
    <bug_when>2007-07-19 21:52:34 +0000</bug_when>
    <thetext>The XML Core WG just noticed that the latest (editor&apos;s)
draft of SML 1.1 at
http://dev.w3.org/cvsweb/~checkout~/2007/xml/sml/build/sml.html?content-type=text/html;%20charset=utf-8
has a normative reference to &quot;XPointer xpointer() Scheme&quot;
http://www.w3.org/TR/xptr-xpointer/

It should be noted that this is a (non-last call)
Working Draft from 2002 on which no work is planned.
In fact, the xpointer() scheme failed CR, and was
withdrawn as a W3C work item.

You should not plan to reference the xpointer() scheme
in your specification.

paul

Paul Grosso for the XML Core WG</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15888</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-07-19 22:11:15 +0000</bug_when>
    <thetext>I had been meaning to propose that instead of the xpointer
scheme, the SML spec use the xpath1 scheme.  I hadn&apos;t gotten
around to it, but this seems an opportune place and time.

As far as I can tell, there is no particular bit of
functionality present in xpointer that is not present in
xpath1, that SML depends upon. Indeed, at least some examples
of the extra functionality (like being able to point at
ranges that do not contain well-balanced XML) would probably
be problematic for most SML implementations.  So xpath1
is probably a better fit in any case.

Of course, xpath2 should also be considered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16823</commentid>
    <comment_count>2</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-09-27 01:16:15 +0000</bug_when>
    <thetext>xpath1 and xpath2 schemes are not W3C recommendations. The element() scheme is a W3C recommendation but it is difficult to use and fragile since it uses numeric child sequences. E.g., 

element(/1/2)

However, it is expressive enough to represent SML references since they always point to a unique element in a doc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16830</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-09-27 02:44:43 +0000</bug_when>
    <thetext>I&apos;m not quite sure what you mean.  XPath 1.0 and XPath 2.0 
are both W3C recommendations.

It&apos;s true that no W3C Rec specifies their use as an XPointer
scheme.  But the problem which gave rise to this bug report
is that the expression language of the xpointer() scheme is 
defined only by a Working Draft (and one on which no WG is
now working); on that point, XPath 1.0 and XPath 2.0 are on
a rather different footing.

The element() scheme seems far too brittle to be useful for 
cross references in a dynamic system.  Relying on it 
would make SML reference error prone, and at the same time
ensure that most of the errors would not be readily detectable
(because the reference will not fail to resolve, just resolve
to the wrong element).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16852</commentid>
    <comment_count>4</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-09-27 15:52:30 +0000</bug_when>
    <thetext>Although the xpath1 and xpath2 XPointer schemes are registered in the XPointer Registry ( http://www.w3.org/2005/04/xpointer-schemes/), they are not W3C recommendation (see see Paul Grosso&apos;s email http://lists.w3.org/Archives/Public/public-sml/2007Jul/0093.html)

Sure XPath 1.0 and XPath 2.0 are W3C recommendation, but these should not be confused with the xpath1 and xpath2 XPointer schemes. The XPointer registry does not have a spec for the xpath2 scheme, and the spec for the xpath1 scheme (http://www.tei-c.org/P5/Guidelines/SA.html#SATSXP) is not a W3C recommendation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17263</commentid>
    <comment_count>5</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2007-10-16 23:35:58 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 4636 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>