<?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>1778</bug_id>
          
          <creation_ts>2005-07-20 03:16:58 +0000</creation_ts>
          <short_desc>[FS] editorial: 8.2.3.1.2 (Static semantics of) Kind Tests</short_desc>
          <delta_ts>2007-01-16 17:45:35 +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>4978</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2005-07-20 03:16:58 +0000</bug_when>
    <thetext>8.2.3.1.2 (Static semantics of) Kind Tests

(presentation)
    The sub-subheads (&quot;Semantics&quot;) are more prominent than the subheads
    (&quot;Document kind test&quot;, &quot;Element kind test&quot;, etc.).
    (leftover from last year, comment #218)

(Static semantics of) Document kind test

    Sem 1 / rule 3 / premise 2
    Sem 1 / rule 4 / premise 2
    &quot;not(Type1 &lt;: DocumentType or DocumentType &lt;: Type1)&quot;
        There&apos;s no need to introduce a metasyntactic &apos;or&apos;.
        not( A or B ) = not( A ) and not( B ), so replace with:
            not(Type1 &lt;: DocumentType)
            not(DocumentType &lt;: Type1)
        (Note that this is what&apos;s done by the corresponding rules under
        element kind test and attribute kind test.)

    Sem 1 / rule 3 / premise 4
    Sem 1 / rule 4 / premise 4
    &quot;Type2 &lt;: empty&quot;
        Prepend &quot;statEnv |-&quot;.

(Static semantics of) Element kind test

    Sem 2 / rule 5
    &quot;ElementNameOrWildcard TypeSpecifier&quot;
        This is not a valid Formal Type.
        Change to &quot;element ElementName TypeSpecifier&quot;.
    (leftover from last year, comment #223)

(Static semantics of) Attribute kind test

    Sem 3 / rule 5
    &quot;AttribNameOrWildcard TypeReference&quot;
        This is not a valid Formal Type.
        Change to &quot;attribute AttributeName TypeReference&quot;.
    (leftover from last year, comment #226)

(Static semantics of) Processing instruction, comment, and text kind tests.

    (very last line of section)
    &quot;If none of the above rules apply, then the node test returns the
    empty sequence and the following rule applies:
    statEnv |- test node() with PrincipalNodeKind of NodeType : empty&quot;
        Presentationally, this looks like a judgment form declaration. It
        would be nice if you could at least make it *look* like an
        inference rule. E.g., have a single premise saying &quot;otherwise&quot;.
    (leftover from last year, comment #229)

        But more importantly, consider the immediately previous rule:
        there can&apos;t be a case where *this* rule would apply but *that* one
        wouldn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9220</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-04-13 16:16:12 +0000</bug_when>
    <thetext>Fixed as suggested.
Last item fixed in the same way as in #1780.
- Jerome
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>