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

Re: XHTML m12n XSD

  • From: Rick Jelliffe <ricko@a...>
  • To: xml-dev@l...
  • Date: Sat, 06 Jan 2001 17:16:37 +0800

Re: XHTML m12n XSD
From: Curt Arnold <Curt.Arnold@h...>


> Substitution groups (especially if the common ancestor and single
membership
> restrictions were removed per LC-96) could effectively replace parameter
> entities for content models.

I don't think it could.  The first reason is that the XHTML M12n people's
system works by redefining groups, so substitution groups don't seem to fit
the bill.  The second is the technical reason that XHTML M12n allows you to
change optionality of elements in a content model and add required or
optional ones everywhere. I don't think there is any simple way, currently,
to declare that there is a kind of abstract element which is only required
if there is an element declared to be part of its substitution group.  (And,
if there is some tortuous way to do it, I doubt very much that it would be
straightforward enough to be  to anyone's taste or not explode or look like
m12n.)

However, in the XS XHTML M12n approach, I do use substitution groups to
implement the .class parameter entity, which I seems to be very close.

The problem is that there needs to be two levels of schema activity; one
says "these items cohere together, because they don't make sense other wise"
and the other says "I have chosen to couple these items together in the
process of cobbling together my language".  The first level is not
well-served by grammar-based schemas, the second often is.   (IMHO the first
is where Schematron fits in, the second is where XML Schemas fits in.)

Cheers
Rick Jelliffe


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.