<?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>2104</bug_id>
          
          <creation_ts>2005-09-09 14:48:14 +0000</creation_ts>
          <short_desc>parts-queries-results-q1 can fail</short_desc>
          <delta_ts>2005-11-03 08:25:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>0.6.0</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marc Van Cappellen">marc.van.cappellen</reporter>
          <assigned_to name="Carmelo Montanez">carmelo</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6018</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2005-09-09 14:48:14 +0000</bug_when>
    <thetext>Following the static typing rules outlined in the Formal Semantics, we believe 
that static implementation will report XPTY0004.

- in local:one_level, $p is statically typed as element()
- $p/@partid is typed as attribute(partid, xs:anySimpleType)*
- An implementation using the infoset mapping for fn:doc types
  $s/@partof as attribute(partof, xdt:untypedAtomic)* 
As a consequence, $s/@partof = $p/@partid should raise XPTY0004.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6977</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2005-10-31 20:36:01 +0000</bug_when>
    <thetext>Marc:

I asked for Jonathan&apos;s input on the matter.  He wrote the use cases and is 
quite well versed on the use cases.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6982</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2005-11-01 14:39:34 +0000</bug_when>
    <thetext>I agree with Marc.

So how do we process this? At the very least, our test suites should allow
static implementations to raise this error. We might want to fix this in the use
cases document and think about when to republish, since we probably want the use
cases to match the test suite and we probably don&apos;t want to penalize anyone for
supporting static typing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6984</commentid>
    <comment_count>3</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2005-11-01 15:07:59 +0000</bug_when>
    <thetext>Mark/Jonathan:

I can go ahead and change the test case entry in the catalog file to allow for 
a static error as well.  Just need to think.  How to set the scenario 
(standard or parse-error).

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6987</commentid>
    <comment_count>4</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2005-11-01 16:14:57 +0000</bug_when>
    <thetext>Agree.  Test case entry in catalog was changed to allow for an alternate error 
to be raised.  This may be a temporary solution if the use case gets changed.

Thanks,
Carmelo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7001</commentid>
    <comment_count>5</comment_count>
    <who name="Marc Van Cappellen">marc.van.cappellen</who>
    <bug_when>2005-11-03 08:25:38 +0000</bug_when>
    <thetext>This resolution is satisfactory, change state to closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>