Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


dynamically generated XML Schema?! Re: [xml-dev] R: [xml-dev] Numberof active public XML schemas

From: Burak Emir <Burak.Emir@----.-->
To: Chizzolini Stefano <chist@---.-->
Date: 11/3/2004 10:26:00 AM
Chizzolini Stefano wrote:

>
>	>Which raises an interesting question: Should there be a non-XML
>syntax 
>	>for XSDs like there is for RELAX NG? It's always been an article of
>
>	>faith for me that schemas should be written in XML, if for no other
>
>	>reason than not having to write another parser. But one does have
>to 
>	>wonder...
>
>I think there are some valid reasons for writing schemas in XML:
>seamlessness, elegance and power. Adopting a "self-describing" language
>syntax avoids the users from learning a new one and allows to leverage many
>existing applications derived from the original spec (in this case, XML
>spec); I mean, for example, the chance to dynamically generate brand new
>schemas through XSL transformations.
>
>  
>
One can of course endlessly discuss about syntax, but I have never 
understood the obsessiveness of marking up descriptions of XML data in XML.

Who needs to dynamically generate schemas? The whole point of schemas is 
to be a widespread, well understood description of instances.

If you generate a shining brandnew schema dynamically using X, you end 
up with a description that did not exist before. Ergo, the risk is that 
you do not have conforming documents.

Now one can dwell in discussion of hypothetical families of schemas, but 
for all my experience tells me about modelling, if you manage to 
understand what the common things are that make a bunch of schemas a 
family, then you can anticipate the extensibility you need, which 
removes completely the need for dynamic generation.

What is a use case for dynamically generated schemas?
Why does one need to use XSL for it ?
Why couldn't one use non-XML syntax for it?

regards,
Burak Emir

http://lamp.epfl.ch/~buraq


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