This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6948 - "attributes with non-schema namespace", missing definition
Summary: "attributes with non-schema namespace", missing definition
Status: CLOSED INVALID
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL: http://www.w3.org/TR/xmlschema11-1/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 02:16 UTC by Mukul Gandhi
Modified: 2010-11-10 17:07 UTC (History)
3 users (show)

See Also:


Attachments

Description Mukul Gandhi 2009-05-24 02:16:11 UTC
In the XML Schema 1.1, structures spec, almost every "schema component" is defined with a description:

{any attributes with non-schema namespace ...}

for e.g., in xs:attribute declaration as below:

<attribute
  default = string
  fixed = string
  form = (qualified | unqualified)
  id = ID
  name = NCName
  ref = QName
  targetNamespace = anyURI
  type = QName
  use = (optional | prohibited | required) : optional
  inheritable = boolean
  {any attributes with non-schema namespace ...}>
  Content: (annotation?, simpleType?)
</attribute>

The spec defines, "any attributes with non-schema namespace ..." for almost every XML Schema component, like:
xs:attribute
xs:element
xs:complexType
.. and so on

But I cannot see definition in the spec, what all "attributes in non-schema namespace" can be there, for various Schema components.

It seems, the term "any attributes with non-schema namespace ..." is not defined in the spec, either at a global level, or for individual components.

The problem I have cited, is present in XSD 1.0 spec as well.

Sorry, if I am missing something.

Regards,
Mukul
Comment 1 Michael Kay 2009-05-24 09:03:47 UTC
You will find a more formal statement of what is allowed in the schema for schema documents, where most (or all?) elements have types that include

<xs:anyAttribute namespace="##other" processContents="lax"/>

I'm not sure if this answers your question.
Comment 2 Mukul Gandhi 2009-05-26 04:31:57 UTC
(In reply to comment #1)
> You will find a more formal statement of what is allowed in the schema for
> schema documents, where most (or all?) elements have types that include
> 
> <xs:anyAttribute namespace="##other" processContents="lax"/>
> 
> I'm not sure if this answers your question.

Thanks, Mike for the answer. I can now understand this at a kind of surface. I'll go into deep to read relevant parts of the spec, to understand this more.

I'll get back with further questions if any.

Regards,
Mukul 

Comment 3 Mukul Gandhi 2009-06-21 08:00:23 UTC
I think, I understand this feature now. You could mark this bug report as invalid or closed.

Regards,
Mukul
Comment 4 David Ezell 2009-06-26 16:09:03 UTC
The WG expresses thanks for the discussion, an agrees to close the bug.
Comment 5 David Ezell 2010-11-10 17:07:11 UTC
The WG reported this bug as INVALID on 2009-05-24.  We are closing this bug as
requiring no futher work.  If there are issues remaining, you can reopen this
bug and enter a comment to indicate the problem.  Thanks very much for the
feedback.