W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2008

schema arrangement or architecture

From: Andrew Welch <andrew.j.welch@gmail.com>
Date: Mon, 2 Jun 2008 15:15:55 +0100
Message-ID: <74a894af0806020715j63046d26sa82d1c9a44cd407f@mail.gmail.com>
To: xmlschema-dev@w3.org

Hi,

Given the "salami slice" style of schema (all elements and types are
global) are there any established practices for arranging a large
schema? eg

- try to keep to one large file or break it down into several files?
- ensure all element definitions are always in a single file, or where
possible keep element definitions in the same file as their type
definitions?
- should all attribute be defined globally?

etc.

There seems to be quite a lot of information about the different
schema styles out there, but not much on managing a large schema...
(in this case I'm calling a "large" schema one with just over 100
different elements each with their own type... ~150 attributes)

Is the secret of maintaining a large schema down to good tooling
rather than an intimate knowledge of what's in each file?

thanks
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
Received on Monday, 2 June 2008 14:16:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:14 UTC