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

RE: XHTML m12n XSD

  • From: Ann Navarro <ann@w...>
  • To: Mike.Champion@S..., xml-dev@x...
  • Date: Thu, 04 Jan 2001 17:14:03 -0500

entities in 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!

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.