<?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>6465</bug_id>
          
          <creation_ts>2009-01-22 17:49:22 +0000</creation_ts>
          <short_desc>Namespace fixup and inherited attributes</short_desc>
          <delta_ts>2009-01-26 15:40:56 +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.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</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="C. M. Sperberg-McQueen">cmsmcq</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>23226</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2009-01-22 17:49:22 +0000</bug_when>
    <thetext>The following is an excerpt from Michael Kay&apos;s email (member-only):
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2009Jan/0041.html

I think that where we describe the addition of the new property [inherited
attributes], we need to specify that the addition of an inherited attribute
to an element should invoke namespace fixup in the same way as adding a
defaulted attribute. (In most cases, of course, the namespace will already
be in scope, because it will have been declared on the element from which
the attribute is inherited. But namespace fixup can still be needed if the
relevant prefix has been rebound or unbound at an intermediate level.)

This also means that the inherited attribute may have a different prefix
from the original. The current text doesn&apos;t seem to give enough detail on
how the attribute information items in [inherited attributes] are
constructed; I think that there is a need to spell out the properties of
these information items in the same way as we do for defaulted attributes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23227</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2009-01-22 17:49:48 +0000</bug_when>
    <thetext>The following is Sandy&apos;s response in (member-only):
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2009Jan/0042.html

For [inherited attributes], I don&apos;t think we need to perform the same
fixup. They are just references to other information items, just like the
[parent] property points to the parent element. The key point is that
members of the [inherited attributes], unlike defaulted ones, are *not*
members of the [attributes].

But I do agree that when it comes to constructing a DTM for CTA, namespace
bindings are needed, because [inherited attributes] are considered part of
[attributes] at that point.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23247</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2009-01-26 15:40:42 +0000</bug_when>
    <thetext>During its 2009-01-23 telecon, the schema WG adopted a proposal to address this issue.

The proposal (along with other changes) can be found at (member-only):
  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.omni.20090123.html

The adopted change is to add the following sentence to the end of clause 1.1.3 of section 3.12.4:

&quot;When an attribute with a non-empty [namespace name] is copied, ·namespace fixup· may need to be performed on the resulting information set to ensure that a prefix P is bound to the [namespace name] and the [prefix] of the copied attribute is set to P.&quot;

With this change, the WG believes that the issue raised in this bug report is addressed. I&apos;m marking this RESOLVED and CLOSED accordingly.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>