ISSUE-69: Global Attributes

ISSUE-69: Global Attributes

http://www.w3.org/2005/06/tracker/databinding/issues/69

Raised by: Paul Downey
On product: Basic

Our current editors' draft includes patterns for global attributes:
http://www.w3.org/2002/ws/databinding/edcopy/basic/basic.html#pattern-GlobalAttribute

Which may have crept in from generic patterns for predefined types of attributes.

Whilst local attributes appear to be reasonably well supported by databinding
tools, it seems that global attributes aren't, in particular those from another
namesapce. e.g. a schema which imports a global definition of xml:id is unlikely
to result in each generated class containing an explicit 'id' property meaning
it's not possible to access the xml:id values from generated code.

In addition, we currently have no examples for global attributes as they need a
carrier global element, so we need to embark on generating a large number of
such examples to test our current global attribute patterns.

Proposal: make global attributes an advanced Pattern and constrain Basic
attributes to being local to other collection patterns specified such as by
ISSUE-47.

Received on Tuesday, 5 September 2006 11:32:43 UTC