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

XHTML & Schemas

  • From: Paul Prescod <paul@p...>
  • To: xml-dev <xml-dev@i...>
  • Date: Wed, 01 Sep 1999 11:19:54 -0400

yacc xhtml
Let me try to put this argument on a practical footing.

Namespaces are triggers for various things. Stylesheets, validators,
etc.

For better or worse XHTML has three different grammars. I could probably
be convinced that this is a bad idea (and on another day might even
argue vociferously that way). But anyhow, XHTML has three grammars. This
probably has more to do with politics than technology: "our mandate is
to blah blah blah".

That means that when we get namespace-aware validators there will be
three schemas. Schemas are namespace-triggered:

 * not "version attribute" triggered
 * not DOCTYPE triggered

They are namespace triggered. (and for good reason...trying to bring
attributes into it makes the validation model much more complicated)

It follows that we need three namespaces to attach the three grammars
to.

Next year we will want to introduce parts of XHTML into our various
other document types. By that time we will hopefully have a schema
language that allows us to validate "HTML islands." Great! But which
grammar do we validate against? With only one namespace we either have
no choice or we must use the most loose of the three.

Now as a purist I don't think that it should be possible to use the
XHTML namespace until the W3C describes what conformance means. So I
would vote to do away with the namespaces altogether until that time
comes around. But given that this is not politically feasible I think
that the current status of three namespaces makes sense as a required
hook for future schema-based validation.

The alternative is to let "loose" become the defacto standard! Ack.
Better that we should either (temporarily) banish namespaces, banish
"loose" or make three namespaces so that we do not paint ourselves into
a corner.

 Paul Prescod

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!

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.