[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: normalizing schemas

  • From: Eric van der Vlist <vdv@d...>
  • To: xml-dev@l...
  • Date: Mon, 05 Nov 2001 18:58:45 +0100

normalized schema
AndrewWatt2000@a... wrote:

> In a message dated 05/11/01 13:42:52 GMT Standard Time, xml-dj@g... 
> writes:
> 
> 
>     I have to normalize a schema with xslt for an application.
>     With "normalizing" I mean to flatten the schema-structure, e.g. to
>     dissolve all references and insert it at the referenced place...
>     I am searching for a specification how to normalize a schema, but I
>     have not found anything up to now. Maybe someone knows where to find
>     the spec or maybe someone has/had the same thing to do?
> 

.../...

> 
> Are we talking about XSD Schema (W3C "XML Schema")? Or something else? 
> What is the limiting factor that demands a "normalized" schema? A fully 
> fledged XSD Schema processor should be able to handle any of the legal 
> structures.


It may be useful to "normalize" a W3C XML Schema for documentation 
purposes and I have done quite a lot of work on the subject, even if 
it's more dirty hacks than something which could be published yet.

I tend to disagree with the idea to "dissolve all references and insert 
it at the referenced place", though since "references" are more generic 
than "insertion".

You can convert to references (or flat design) any Russian doll, but the 
contrary is false since you can't model a recursive structure as a 
Russian doll.

IMHO, the "normalized" schema should rather be a schema "as flat as 
possible" just embedding the complex and simple types definitions.

My 0,02 Euros,

Eric


> 
> Andrew Watt

-- 
Rendez-vous à Paris pour le Forum XML.
                    http://www.technoforum.fr/Pages/forumXML01/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.org
------------------------------------------------------------------------


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.