<?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>2186</bug_id>
          
          <creation_ts>2005-09-14 18:49:55 +0000</creation_ts>
          <short_desc>R-193: Question re: processContents=skip</short_desc>
          <delta_ts>2012-12-04 00:53:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needsDrafting</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6194</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 18:49:55 +0000</bug_when>
    <thetext>Consider the following example: 

instance doc fragment: 

     &lt;person&gt;
          &lt;salary xsi:type=&apos;xs:integer&apos;&gt;Hello&lt;salary&gt;
     &lt;person&gt;

schema fragment: 

    &lt;xs:element name=&quot;person&quot;&gt;
     &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
          &lt;xs:any processContents=&quot;skip&quot; maxOccurs=&apos;unbounded&apos;/&gt;
      &lt;xs:sequence&gt;
     &lt;xs:complexType&gt;
    &lt;xs:element&gt;

The element &quot;salary&quot; matches the wildcard with processContents of skip within 
the content model of &quot;person&quot;. However, the element in the instance has an 
xsi:type specified. The question is: should a processor attempt to 
validate &quot;salary&quot; against the integer type? Schema Validity Assessment 
(Element) [1] would seem to indicate &quot;yes&quot; because clause 1.2 appears to be 
satisfied (via 1.2.1.2). Is this correct? If not, what did I miss? If so, was 
this the intention? 

[1] http://www.w3.org/TR/xmlschema-1/#cvc-assess-elt 

See: http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0281.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6195</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 18:50:10 +0000</bug_when>
    <thetext>Henry&apos;s response:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Nov/0290.html 

Resolution:
Discussed at the March 13, 2003 telecon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6284</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:49:52 +0000</bug_when>
    <thetext>*** Bug 2163 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>