<?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>3846</bug_id>
          
          <creation_ts>2006-10-18 09:59:15 +0000</creation_ts>
          <short_desc>axis child:: of ElementType - processing-instructions and comments</short_desc>
          <delta_ts>2007-02-14 08:20:40 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Mills">tim</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>12525</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2006-10-18 09:59:15 +0000</bug_when>
    <thetext>From 8.2.2.1.3 Inference rules for the child axis

the rule:

statEnv |-  ElementType type lookup OptNillable TypeReference
statEnv |-  OptNillable TypeReference expands to Type1 | · · · | Typen
statEnv |-  Type1 has node content Type1&apos;
· · ·
statEnv |-  Typen has node content Typen&apos;
---------------------------------------------------------------
statEnv |-  axis child:: of ElementType : Type1&apos; | ... | Typen&apos;

makes no mention of processing-instructions and comments.  Should it not make such a mention, in a similar manner to the rule for axis child:: of document?

statEnv |-  axis child:: of document { Type } : Type &amp; processing-instruction* &amp; comment*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13982</commentid>
    <comment_count>1</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2007-02-14 02:26:35 +0000</bug_when>
    <thetext>Tim,
I believe it does produce a type with PI and comments added. The &apos;expands to&apos; judment which is used in the inference rule you quote, is defined using the &apos;adjusts to&apos; (Section 8.1.7) judgment which indeed add types for PI and comment nodes. Let us know if that makes sense.
Best,
- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13984</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2007-02-14 08:20:07 +0000</bug_when>
    <thetext>Thatnks - I hadn&apos;t followed through all the judgements quite carefully enough!

I&apos;d be very greateful if you could comment on bug report 4273, as I think this is the only major stumbling block we have with our XQuery implementation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>