<?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>1802</bug_id>
          
          <creation_ts>2005-07-22 03:44:08 +0000</creation_ts>
          <short_desc>[FS] editorial: E.1.3 Attribute filtering</short_desc>
          <delta_ts>2007-01-16 17:47:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Formal Semantics 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Dyck">jmdyck</reporter>
          <assigned_to name="Jerome Simeon">simeon</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5127</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-22 03:44:08 +0000</bug_when>
    <thetext>E.1.3 Attribute filtering

Notation
&quot;Value filter @QName =&gt; ()&quot;
&quot;Value filter @QName =&gt; SimpleValue&quot;
    But SimpleValue derives (), so in a judgment where the RHS value is
    (), it could be an instance of either form. And they appear to mean
    slightly different things.

&quot;Value filter @QName =&gt; () or SimpleValue&quot;
    This seems fairly ad hoc. Instead of:
        Value1 filter @xsi:nil =&gt; () or false
    why not use existing notation and say:
        Value1 filter @xsi:nil =&gt; SimpleValue
        SimpleValue in { (), false }

Sem / rule (1|2) / premise 1
&quot;dynEnv |- Value1 of attribute:: =&gt; Value2&quot;
    What kind of judgment is this? Maybe you mean:
        dynEnv |- axis attribute:: of Value1 =&gt; Value2
(leftover from last year, comment #236)

Sem / rule (1|2) / premise 2
&quot;dynEnv |- Value2 of attribute, QName =&gt; ...&quot;
    Again, what kind of judgment is it?
    I don&apos;t even have a guess.
(leftover from last year, comment #237)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8908</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-03-27 21:31:03 +0000</bug_when>
    <thetext>Applied the following fixes:

(1) distinguished when the attribute content is empty:
 Value filter @QName =&gt; ()
from then the attribute is absent:
 Value filter @QName =&gt; absent

(2) As suggested, used the standard notation when multiple values are possible for a judgment, as in:
        Value1 filter @xsi:nil =&gt; SimpleValue
        SimpleValue in { (), false }

(3) Fixed the definition for the filter judgment to use the axis and nodetest judgment properly.

- Jerome
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>