[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Fun With Schemas
Bob, Quoting Bob Foster <bob@o...>: > Generating instances from schemas usually just produces one of the > infinite number of instances restricted by certain trivial parameters. I > don't know of an example where meaningful instances are generated. > > If a generated document changes automatically depending on the schema it > finds at the time of generation yet somehow contains the same > "information", there must be a model of the document that is independent > of the schema, e.g., something like an ER model. Then the model must be > populated: this concrete entity has that relationship to these other > concrete entities, etc. Then there must be a mapping from the abstract > document model to the elements and attributes used in the schema. When > the schema changes, the mapping must change in concert (and there must > be a way to prevent changes to the schema that violate the abstract > document model, e.g., changing an unbounded relationship to a bounded one). Sounds simple in theory... debugging the kinks out of that one would be the real fun.. I hope it's written in python or perl.. if it's in C I think the local pizza shop might be the only real winner... :-) > After that, piece of cake. ;-} I think anybody would deserve the cake if they survived that... ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! 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
|