W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > September 2006

ISSUE-69: Global Attributes

From: Databinding Issue Tracker <dean+cgi@w3.org>
Date: Tue, 5 Sep 2006 11:32:33 +0000 (UTC)
To: public-xsd-databinding@w3.org
Message-Id: <20060905113233.1FE6ED7638@saba.w3.mag.keio.ac.jp>

ISSUE-69: Global Attributes


Raised by: Paul Downey
On product: Basic

Our current editors' draft includes patterns for global attributes:

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
Received on Tuesday, 5 September 2006 11:32:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:42:56 UTC