<?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>5505</bug_id>
          
          <creation_ts>2008-02-27 16:27:33 +0000</creation_ts>
          <short_desc>wrong type for schemaBinding/namespaceBinding/namespace attribute</short_desc>
          <delta_ts>2008-06-05 19:35:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SML</product>
          <component>Interchange Format</component>
          <version>LC</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></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Valentina Popescu">popescu</reporter>
          <assigned_to name="Virginia Smith">virginia.smith</assigned_to>
          
          
          <qa_contact name="SML Working Group discussion list">public-sml</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19212</commentid>
    <comment_count>0</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2008-02-27 16:27:33 +0000</bug_when>
    <thetext>The type for schemaBinding/namespaceBinding/ namespace attribute should be xs:anyURI ( or smlif:uriType ) since its value represent a schema document&apos;s targetNamespace value.

It is currently set to &quot;xs:NCName&quot;

 &lt;xs:element name=&quot;namespaceBinding&quot; type=&quot;smlif:namespaceBindingType&quot;/&gt;
  &lt;xs:complexType name=&quot;namespaceBindingType&quot; mixed=&quot;false&quot;&gt;
    &lt;xs:attribute name=&quot;namespace&quot; type=&quot;xs:NCName&quot; use=&quot;optional&quot;/&gt;
    &lt;xs:attribute name=&quot;aliases&quot; use=&quot;required&quot;&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:list itemType=&quot;xs:anyURI&quot;/&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
  &lt;/xs:complexType&gt;


As a result, valid namespace values, such as &quot;urn:university&quot; are not accepted</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19213</commentid>
    <comment_count>1</comment_count>
    <who name="Valentina Popescu">popescu</who>
    <bug_when>2008-02-27 16:42:19 +0000</bug_when>
    <thetext>The namespace type should actually be xs:anyURI ( cannot be smlif:anyType as I commented in the defect description ). In this case namespace is an attribute, not an element so it can&apos;t have a complex type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19329</commentid>
    <comment_count>2</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-03-06 19:32:42 +0000</bug_when>
    <thetext>resolution (3/6 conf call): add a comment to clarify that aliases are for documents, mark it editorial and fixed per comment #1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20106</commentid>
    <comment_count>3</comment_count>
    <who name="Virginia Smith">virginia.smith</who>
    <bug_when>2008-05-15 16:47:18 +0000</bug_when>
    <thetext>Fixed per comment #2.

Schema changed from:
--------
  &lt;xs:complexType name=&quot;namespaceBindingType&quot; mixed=&quot;false&quot;&gt;
    &lt;xs:attribute name=&quot;namespace&quot; type=&quot;xs:NCName&quot; use=&quot;optional&quot;/&gt;
    &lt;xs:attribute name=&quot;aliases&quot; use=&quot;required&quot;&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:list itemType=&quot;xs:anyURI&quot;/&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:anyAttribute namespace=&quot;##other&quot; processContents=&quot;lax&quot;/&gt;
  &lt;/xs:complexType&gt;
---------

To:
---------
   &lt;!-- The value of the aliases attribute in the complexType below 
       is a list of instance document URIs --&gt;
   
  &lt;xs:complexType name=&quot;namespaceBindingType&quot; mixed=&quot;false&quot;&gt;
    &lt;xs:attribute name=&quot;namespace&quot; type=&quot;xs:anyURI&quot; use=&quot;optional&quot;/&gt;
    &lt;xs:attribute name=&quot;aliases&quot; use=&quot;required&quot;&gt;
      &lt;xs:simpleType&gt;
        &lt;xs:list itemType=&quot;xs:anyURI&quot;/&gt;
      &lt;/xs:simpleType&gt;
    &lt;/xs:attribute&gt;
    &lt;xs:anyAttribute namespace=&quot;##other&quot; processContents=&quot;lax&quot;/&gt;
  &lt;/xs:complexType&gt;

---------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20222</commentid>
    <comment_count>4</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2008-05-22 13:13:28 +0000</bug_when>
    <thetext>+1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>