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

Re: dynamically generated XML Schema?! Re: R:[xml-de


Re:  dynamically generated XML Schema?! Re:  R:[xml-de
Michael Kay wrote:

>>Who needs to dynamically generate schemas? The whole point of 
>>schemas is 
>>to be a widespread, well understood description of instances.
>>    
>>
>
>There was someone with that need writing to the list a few days ago. It
>  
>
I am aware of that request for help, but I disagree. You were suggesting 
to her that multiple schemas might do the trick.

>seems entirely legitimate to me to apply different schemas to the same
>document at different stages of a workflow, or for senders of documents to
>apply stronger validation criteria than recipients of the same documents.
>
>  
>
Granted, but does that require a "dynamically generated" schema?

By dynamically generated, I understand this: A clever way of doing many 
matrix multiplications is to use dynamic programming (ordering the 
multiplications once you know all the matrices' dimensions).

A web application may dynamically generate a response for a request.

In the use case you seem to suggest, senders seem to refine schemas to 
achieve tighter checking. If one knows in advance that one wants such 
refinement, one can write the schemas by hand. If not, then finding a 
mechanical transformation for the old schema will not help much.

I guess, the problem for that use case is modularity.

Coming back to "dynamically generated", I think the very fact that 
somebody can write a mechanical transform to generate one schema from 
another hints at enough anticipation of requirements that the original 
schema could have been written in an extensible way in the first place.

regards,
Burak Emir

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

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.