W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2010

Re: What would be the consequence of prohibiting local element and attribute declarations?

From: <cesarariza@gmail.com>
Date: Sat, 16 Oct 2010 13:59:57 +0000
Message-ID: 1888060393-1287237562-cardhu_decombobulator_blackberry.rim.net-27851907-@bda2049.bisx.prod.on.blackberry>
To: "Costello, Roger L." <costello@mitre.org>,xmlschema-dev-request@w3.org,"xmlschema-dev@w3.org" <xmlschema-dev@w3.org>
I worked in a project with this policy. I think you have more cleaner schemas. This policy is useful if you have many heterogeneus systems to integrate and you can reuse the code you generate in several systems. Sounds like Venetian Blind pattern.  

Cheers
------Mensaje original------
De: Costello, Roger L.
Remitente: xmlschema-dev-request@w3.org
Para: xmlschema-dev@w3.org
Asunto: What would be the consequence of prohibiting local element and  attribute declarations?
Enviado: 16 Oct, 2010 07:03

Hi Folks,

Suppose a team has this XML Schema design policy:

   No local element or attribute declarations
   are permitted. All elements and attributes
   must be globally declared. 

This policy strips the XML Schema language of a significant functionality. What are the consequences? Specifically what things will not be expressible because of this policy? Would this policy result in the creation of XML Schemas that don't integrate with other XML technologies?

/Roger



Enviado desde mi BlackBerry de Movistar
Received on Saturday, 16 October 2010 13:59:58 GMT

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