|
[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: normalizing schemas
- From: xml-dj <xml-dj@g...>
- To: xml-dev@l...
- Date: Tue, 06 Nov 2001 01:41:52 +0100

|
Thank you for your answers...
>>>I consider normalizing to be hoisting
all definitions/declarations to the top level and replacing recursive
structures with references to the hoisted ones. <<<
I like to search all elementes with references (ref, type, etc.) in the
schema an replace them with the referenced structure (so make them
anonymous). I like to have a schema without references, so that the
application which uses the normalized schema have not to jump around but
has already a "flattened" schema to work with in a more easier
way. I have similar intentions as posted here (documentation etc.),
but I want to generate also another output with it.
We have considered the recursive-problem, and our program already
recognizes and deals with recursive structures.
Another problem is how to normalize the other more complicated
things like list, union, simpleTypes with extension, restriction and so on. Is
there something specified?
>>>Take a look at http://sourceforge.net/ projects/xsdcomp/
and see if it is along the lines of what you were trying to do (especially the
message forums). It has been inactive for over a year and stuck on a
working draft syntax. Basically, the idea was to use XSLT to resolve all
the references in a schema and produce a "compiled" version of the schema that
could be used to produce documentation, class definitions,
etc.<<<
Yes, on the first view it comes very near to what I mean! How did you fix
the "compilation"-structure? Your own ideas or have you refered to something
official?
*greets*
Thilo
|

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November.
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
 |
| Atom 0.3 |
 |
| |
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|