|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XHTML & Schemas
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! 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








