Bug 6445 - Namespace fixup and default namespace
Namespace fixup and default namespace
Status: CLOSED FIXED
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1
1.1 only
PC Windows NT
: P2 normal
: ---
Assigned To: C. M. Sperberg-McQueen
XML Schema comments list
: resolved
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-18 19:46 UTC by Michael Kay
Modified: 2009-01-26 15:51 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Kay 2009-01-18 19:46:56 UTC
In the namespace fixup rules in 3.4.5.1 Attribute Default Value, rule 1 says:

If the [in-scope namespaces] of E contains a binding for N, no namespace fixup is needed; the properties of E are not changed.

This is only true if the binding is a non-default binding, that is, if it binds a specific prefix. A binding of the default namespace is no use.

I suggest changing "contains a binding for N" to "binds a prefix to N".
Comment 1 Sandy Gao 2009-01-26 15:37:59 UTC
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 change is identical to what was suggested in the bug report.

With this change, the WG believes that the issue raised in this bug report is addressed. I'm marking this RESOLVED accordingly.

Michael, if you would indicate your concurrence with or dissent from the WG's disposition of the comment by closing or reopening the issue, we'll be grateful. If we don't hear from you in the next two weeks, we'll assume that silence implies consent.


  翻译: