|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XHTML m12n XSD
At 03:49 PM 1/4/01 -0500, Mike.Champion@S... wrote: >DTDs are too limited to be used effectively for "data", but never heard that >XSDs are not fully suitable for "documents". > >Clearly the XHTML entity declarations would have to be in a DTD (since >there is no way to declare entities in XSD), but in other ways would an >XSD and a DTD version of a document "schema" (broadly defined) be >non-equivalent? The issue is post-declaration arbitrary changes to content models. I have module A, B, C, D, E, and F, which have the basic content models of Block, Inline, Flow, etc. New Module Z is introduced and combined with A-F to create a new Host Language Conformant Document Type, where the foo element created in Z must be inserted in Block, or some other content set that's been pre-defined in another module. With DTDs, this is done with heavy parameterization and the use of PEs such as %Block.extra which are defined as empty when the initial Block entity is defined, and can then be altered in the new modules to hold these additions. Schemas, to the best of our understanding, don't provide this facility -- though there's been suggestion that there's a way, but the one person that understands it hasn't had the time to explain it, making it an unproven assertion. We could instantiate a real rathole if we discussed why Schemas are incapable of entity declarations in the first place, which has lead to questions of "why bother" if so much DTD segments must be used to replicate the facilities of XHTML to begin with. Ann --- Ann Navarro, Author and Chief Geek WebGeek, Inc. http://www.webgeek.com Now Available! - XHTML By Example - http://www.webgeek.com/books/xhtmlbyexample/
|
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
|
|||||||||

Cart








