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

RE: ISSUE-81: Abstract Global Element

From: <jon.calladine@bt.com>
Date: Fri, 3 Nov 2006 15:42:02 -0000
Message-ID: <657E2B34242ACC46BDD6774A9728F9E3018D6069@E03MVZ3-UKDY.domain1.systemhost.net>
To: <public-xsd-databinding@w3.org>

too late he notices the existing issue:
http://www.w3.org/2005/06/tracker/databinding/issues/55 covers the
global element abstract=true issue by default, but suggest we still need
it as a seperate pattern in its own right.

JonC 

-----Original Message-----
From: public-xsd-databinding-request@w3.org
[mailto:public-xsd-databinding-request@w3.org] On Behalf Of Databinding
Issue Tracker
Sent: 03 November 2006 15:23
To: public-xsd-databinding@w3.org
Subject: ISSUE-81: Abstract Global Element



ISSUE-81: Abstract Global Element

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

Raised by: Jonathan Calladine
On product: Advanced

Proposed Advanced Pattern:

  <xs:element name="foo" abstract="true"></xs:element>

on a global element forbids its use in an instance document and implies
the use of one of the elements from its associated substitution group.
The use of substitution groups we have made an advanced pattern.

So while not evil on its own can only be used with evil intent...

pattern:

  ./xs:element[@abstract='true']/(@abstract)
Received on Friday, 3 November 2006 16:07:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:37 GMT