Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: schema arrangement or architecture

From: "Andrew Welch" <andrew.j.welch@-----.--->
To: "Boris Kolpackov" <boris@-------------.--->
Date: 6/3/2008 11:49:00 AM
2008/6/3 Boris Kolpackov <boris@c...>:
> My ideal schema has all its types defined globally (e.g., no
> anonymous types), and all its elements and attributes --
> locally, except for the elements that are valid document roots.

Currently mine is pretty much in this order:

- all elements
- some attributes (where the types are user defined - I'm wondering
whether it should be all of them)
- simple types
- complex types

I like this arrangement because the element and attribute list form a
reference / index at the top of the schema.

On the current project the schema is just over a 1000 lines, all
elements are from the same namespace, but could be grouped into a few
logical areas (which they are in the single file - as in elements are
not in alphabetical order, but in their logical groups... perhaps they
should just be in order...)

The actual file size is fine for me, but for scalability and
maintenance reasons I wondered how others approached it, so far it
seems there is no common approach - in the mean time the one big file
approach is fine for me and I'm happy that I'm not missing something.

One thing that would really help is control-clicking the type or ref
attribute values to jump to their respective targets - in oXygen I can
click around the diagram to jump from say element declaration to type
definition which is fine, but often I just minimize the diagram view
and use the text editor so control-clicking the attribute values would
be good.



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

From andrew.j.welch@g... Tue Jun 03 12:12:39 2008
Received: from maggie.w3.org ([19


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent