<?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>2719</bug_id>
          
          <creation_ts>2006-01-16 14:02:13 +0000</creation_ts>
          <short_desc>Namespace requirement and selector values</short_desc>
          <delta_ts>2006-09-18 04:40:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ITS</product>
          <component>ITS tagset</component>
          <version>WorkingDraft</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>PublicationFebruar20</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yves Savourel">ysavourel</reporter>
          <assigned_to name="Felix Sasaki">fsasaki</assigned_to>
          
          
          <qa_contact name="ITS mailing-list">public-i18n-its</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>7852</commentid>
    <comment_count>0</comment_count>
    <who name="Yves Savourel">ysavourel</who>
    <bug_when>2006-01-16 14:02:16 +0000</bug_when>
    <thetext>The specification does not include information about how the selectors values 
should be set with regard to namespaces. Applying XPath expressions with or 
without namespace will have different results depending on how the document is 
written. What should be the standard process to resolve this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8000</commentid>
    <comment_count>1</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-01-27 06:34:16 +0000</bug_when>
    <thetext>I think a solution can be in the way it is done by schematron, see
http://www.schematron.com/elements.html . Schematron has the same problem as
ITS: XPath expressions are used within a schematron document, but how should one
deal with default namespaces? The schematron solution is: have a separate &lt;ns&gt;
element which is used for namespace definitions for the XPath expressions, like
in the @context and @test attribute below:

&lt;schema xmlns=&quot;http://purl.oclc.org/dsdl/schematron&quot;&gt;
 &lt;title&gt;A Schematron Mini-Schema for Schematron&lt;/title&gt;
 &lt;ns prefix=&quot;sch&quot; uri=&quot;http://purl.oclc.org/dsdl/schematron&quot;&gt;
 &lt;pattern&gt;
   &lt;rule context=&quot;sch:schema&quot;&gt;
     &lt;assert test=&quot;sch:pattern&quot;
...
No prefix means no namespace. We have still to define how to use the &lt;ns&gt;
element if we have in situ ITS markup. But that would be a minor issue, I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8176</commentid>
    <comment_count>2</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2006-02-09 14:14:59 +0000</bug_when>
    <thetext>The working group decided
- to use no selector attributes in situ, which resolves this issue for in situ
ITS markup (See
http://lists.w3.org/Archives/Public/public-i18n-its/2006JanMar/0098.html)
- to use zero or more &lt;ns prefix=&quot;..&quot; uri=&quot;..&quot;&gt; elements inside the
&lt;documentRules&gt; to specify a namespace binding for XPath expressions, which
resolves the issue for dislocated ITS. See
http://lists.w3.org/Archives/Public/public-i18n-its/2006JanMar/0100.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>