W3C home > Mailing lists > Public > xmlschema-dev@w3.org > January 2004

Re: can an attribute prohibited by restriction be added back through a subsequent extension?

From: Mary Holstege <holstege@mathling.com>
Date: Mon, 19 Jan 2004 12:11:56 -0800
Message-ID: <16396.14860.468000.871766@gargle.gargle.HOWL>
To: "Dare Obasanjo" <dareo@microsoft.com>
Cc: <xmlschema-dev@w3.org>


I am certain that the intention is that the answer be "no", and the first
clause of Schema Component Constraint: Derivation Valid (Extension) is supposed
to rule it out. However, given that a "prohibited" attribute produces no
component in the component model, it looks like there is a bug in that clause
that fails to account for that case.

//Mary

Dare Obasanjo writes:
> 
> About 1.5 years ago one of our developers asked whether an attribute [or
> element] removed by restriction could be added back in an extension.
> Looking back at the message[0] there was no conclusive answer from the
> working group and most implementations allowed attributes and elements
> removed by restriction to be added back by extensions. 
> 
> I'd appreciate it if a definitive answer could be provided. 
> 
> [0] http://lists.w3.org/Archives/Public/xmlschema-dev/2002Jul/0213.html
> 
> --
> PITHY WORDS OF WISDOM 
> Entropy isn't what it used to be.
> 
> 
> This posting is provided "AS IS" with no warranties, and confers no
> rights.  

-- 

	-- Mary
	   Holstege@mathling.com
Received on Monday, 19 January 2004 15:11:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:41 GMT