W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2006

Visibility modifiers for named Schema components -- Schema 1.1 feature?

From: Mark Goodhand <mrg@decisionsoft.com>
Date: Thu, 07 Sep 2006 15:48:08 +0100
Message-ID: <45003128.5060307@decisionsoft.com>
To: xmlschema-dev@w3.org

I've long found it frustrating that in order to reuse schema components, you have to make them global.

I find myself wanting visibility modifiers on named (global) schema components, e.g.

private - only visible within the current schema document;
protected - visible to any schema document with the same targetNamespace;
public - visible to all other schemas (and in the case of declarations, available for the assessment of instance documents).

I'm sure this suggestion has come up before.

Does anyone know if such a feature will be provided in Schema 1.1?

Is there an obvious reason why this feature would be a bad idea?

Mark Goodhand, Development Manager     +44-1865-203192
DecisionSoft Limited                   http://www.decisionsoft.com
XML Development and Services
Received on Thursday, 7 September 2006 19:48:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:36 UTC