|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] [XML Schema 1.1] Multiple inheritable attributes with the same name ... who wins?
From: Costello, Roger L. <costello@mitre.org>
Date: Tue, 30 Jun 2009 09:56:19 -0400 To: "xmlschema-dev@w3.org" <xmlschema-dev@w3.org> Message-ID: <9E51F88D5247B648908850C35A3BBB500400458C36@IMCMBX3.MITRE.ORG> Hi Folks, Suppose a <Beverage> element has multiple ancestor elements with an inheritable attribute, start-time. The <Beverage> element has an <assert> or <alternative> element that references start-time. Which start-time applies? Example: Suppose each start-time attribute is inheritable: -------------------------------------- <Conference start-time="08:00:00"> <Meeting start-time="13:00:00"> <Beverage>Juice</Beverage> </Meeting> </Conference> -------------------------------------- Suppose <Beverage> has an <assert> element: <assert test="@start-time lt 12:00:00" /> If the <Meeting> element's start-time applies then the instance data is invalid. If the <Conference> element's start-time applies then the instance data is valid. Which start-time applies? /RogerReceived on Tuesday, 30 June 2009 13:56:56 GMT |
Subscribe in XML format
|

![[XML Schema 1.1] Multiple inheritable attributes with the same name ... who wins?](/images/get_stylus.gif)




