<?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>14003</bug_id>
          
          <creation_ts>2011-09-02 04:02:24 +0000</creation_ts>
          <short_desc>Can &quot;instance of&quot; in CTA XPath refer to user-defined type?</short_desc>
          <delta_ts>2011-10-21 16:38:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Saxon tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>XSD 1.1 PR</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>David_E3</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56205</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2011-09-02 04:02:24 +0000</bug_when>
    <thetext>&quot;saxonData/CTA/cta9003err.xsd&quot; is expected to be invalid, because it has:

    test=&quot;@c2:min instance of c2:smallInteger&quot;

The spec only requires &quot;built-in&quot; for &quot;cast as&quot; and constructor functions. Is &quot;instance of&quot; meant to be treated in the same way?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57938</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-10-07 14:26:09 +0000</bug_when>
    <thetext>The specification states in 3.13.6.2 clause 2.2.5 &quot;2.2.5 The in-scope schema definitions are those components that are present in every schema by definition, as defined in Built-in Attribute Declarations (</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57945</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2011-10-07 15:53:42 +0000</bug_when>
    <thetext>From the telcon:
MK: I believe this test is invalid because it refers to a type not in the static context.
MK: we were keen to avoid recursive validation
MK: the test is correct, the test is invalid because the XPath expression is invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>