<?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>4922</bug_id>
          
          <creation_ts>2007-08-08 14:12:37 +0000</creation_ts>
          <short_desc>modelGroups: redefined schemaLocation not present</short_desc>
          <delta_ts>2007-08-09 13:13:55 +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>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="Michael Chan">mhpchan</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          
          
          <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>16085</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Chan">mhpchan</who>
    <bug_when>2007-08-08 14:12:37 +0000</bug_when>
    <thetext>testcases affected:
msData/modelGroups/mgO020.xsd
msData/modelGroups/mgP041.xsd
msData/modelGroups/mgP050.xsd

Testcases are trying to redefine a group that is originated from foo.xsd.  foo.xsd does not exist and xml4c has thrown a warning instead of an error.  The schema spec is open in this issue because it says that these are only &apos;hints&apos;.  The processor/parser have a lot of freedom in how this type of issue is handled.  

Currently, it seems that xml4c will handle this type of issue with a warning instead of an error.  Therefore, a scenario that tests for warnings should be used to test the above testcases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16086</commentid>
    <comment_count>1</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2007-08-08 15:31:56 +0000</bug_when>
    <thetext>I think this comment is mistaken -- schemaLocation is a hint in instance documents, and on xs:import, but not on xs:include or xs:redefine.  The spec (&quot;Schema Representation Constraint: Redefinition Constraints and Semantics&quot;, http://www.w3.org/TR/xmlschema-1/#src-redefine) says &quot;1 If there are any element information items among the [children] other than &lt;annotation&gt; then the ·actual value· of the schemaLocation [attribute] must successfully resolve.&quot;  As the most recent PWD of XML Schema 1.1 clarifies, that &quot;must&quot; is an RFC2119 MUST.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>