[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML trade off 1 - DTD vs XML Schema
From: Mark Birbeck <Mark.Birbeck@i...> >Don Park wrote: >> > document - you just pass a 'sub-set' of the schema (which is still >> > itself a valid schema). >> >> Thus we end up with "XML Schema Fragment" (XML Schema + XML >> Fragment). Has >> anyone actually tried doing this? I am interested in knowing >> any serious >> issues. > >Er ... no you don't. (It might be worth revisiting the raging debate >about fragments from a few months ago.) The technique I have used means >it is always a complete schema, if it only represents a sub-set of some >larger schema. So does the recipient system look through the document and then request a schema server for the appropriate minimal schema to be generated and sent, or does the server already have a separate schema generated for each instance? Last year I proposed that it would better to allow downloading of schema fragments on an individual name basis: the XML-Bind proposal was to allow a kind of link from element types to resources. This would be a practical way to implement this kind of thing. The same mechanism would allow non-schematic links, such as default values for attributes, which are troublesome in XML Schemas. The latest XLink almost allowed links based on types (making the "from" and "to" attributes on arcs point to type names would allow this), but they have currently disallowed it again unfortunately. I hope they swing back to allowing it again. Rick Jelliffe xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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
|