OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: XHTML & Schemas

[ Lists Home | Date Index | Thread Index ]
  • From: "Hunter, David" <dhunter@Mobility.com>
  • To: xml-dev <xml-dev@ic.ac.uk>
  • Date: Thu, 2 Sep 1999 13:33:52 -0400

> From: Paul Prescod [mailto:paul@prescod.net]
> Sent: Thursday, September 02, 1999 11:51 AM
> 
> <MYDOC>
> <P xmlns="http://www.w3.org/TR/XHTML">This is supposed to be 
> loose.</P>
> <P xmlns="http://www.w3.org/TR/XHTML">This is supposed to be 
> strict.</P>
> </MYDOC>
> 
> How would you select the schema to use for each?

Why not

<MYDOC>
<P xmlns="http://www.w3.org/TR/XHTML"><?xhtml mode='loose'?>This is supposed
to be loose.</P>
<P xmlns="http://www.w3.org/TR/XHTML"><?xhtml mode='strict'?>This is
supposed to be strict.</P>
</MYDOC>

We all agree that PIs are visibly ugly, but in this case, the way some of us
are proposing the XHTML group moves forward [one namespace, now and
forever], they're doing exactly what we want them to do:  giving
instructions to the processor.  If the processing instruction gets left out,
let the application default it to loose, or whatever it chooses.

In the future, if XHTML gets consolidated to one flavour, we would

a)  still only have one namespace - easier to denote XHTML in other XML
documents
b)  have processing instructions in our legacy XHTML documents, so that
future XHTML applications would be able to tell, if they cared

David Hunter
david.hunter@mediaserv.com
MediaServ Information Architects
http://www.MediaServ.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
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@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS