<?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>4948</bug_id>
          
          <creation_ts>2007-08-14 14:10:40 +0000</creation_ts>
          <short_desc>Particles: Ob003</short_desc>
          <delta_ts>2010-07-06 13:59:26 +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>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Metadata updated 2010-07-06</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Chan">mhpchan</reporter>
          <assigned_to name="Henry S. Thompson">ht</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>16143</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Chan">mhpchan</who>
    <bug_when>2007-08-14 14:10:40 +0000</bug_when>
    <thetext>Currently, the schema for msData/particles/particlesOb003.xsd is valid.  Within the schema, the namespace constraint is specified but the process Contents constraint is absent; therefore, defaulting in &apos;strict&apos;.  

The xml instance that follows this schema follows the namespace constraint specified but the element that it declares is not declared in the schema.  Because the processContents is defaulted to &apos;strict&apos;, the instance should report an error and the scenario used to should an invalid scenario.  A simple change in the scenario to test this instance should result in a successful testcase.

The following instances follow the same pattern as above:
Ob006
Ob007
Ob012
Ob015
Ob022
Ob042
Ob047
Ob048
Ob052
Ob054
Ob057
Ob059
Ob060</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35231</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-04-23 15:57:05 +0000</bug_when>
    <thetext>The issue here seems to be that the result depends on what schema you use for validation. Is it the schema built from the schema documents listed in the metadata? Or do you add the schemas listed in the xsi:schemaLocation attribute in the instance? The test suite documentation is unclear. Perhaps we need to add metadata to the test catalog to say whether xsi:schemaLocation should be honoured.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35232</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2010-04-23 16:07:37 +0000</bug_when>
    <thetext>WG decided that the sense of the test is correct, but the intention would be clearer by adding the schema document referenced in the instance to the metadata.  Same for the other tests listed below.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>