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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Another look at namespaces

[ Lists Home | Date Index | Thread Index ]
  • From: Marc.McDonald@Design-Intelligence.com
  • To: ricko@allette.com.au, xml-dev@ic.ac.uk, timbl@w3.org
  • Date: Fri, 17 Sep 1999 15:24:23 -0700


> >There is no W3C method to define  a namespace as list of names.
> 
> There is an xml-schema spec in the works destined to do that
> and more.
> 
> One can either take the existing specs at face value at any point in
> history, and not complain about the lack of functionality.  Or you can
> work with
> the model which you forsee you can
> 
In the works does not equal recommendation. In particular, why should XHTML
go off and decide a mechanism  to solve a problem which is a general XML
problem and is being worked on by the schema group?

XHTML should define no namespace at all and await schemas.

The existing namespace spec merely disambiguates. You can't declare the list
of valid names. You can't declare the valid structure. You don't have to use
a namespace unless an element is ambiguous.

If schemas end up extending namespaces (to have a reference to a schema
required for instance), then fine. But, XHTML should not be making that
decision.

Also, as noted in other messages, browsers don't use namespaces. So, there
may need to be 2 versions of every XHTML document - one for browsers and one
for XML parsers. I thought the point of XHTML was an XML compatible version
of HTML. That would mean no implicit ending of elements, for instance. An
XHTML document should be acceptable to an HTML browser and an XML 1.0
parser. 

	It looks to me like the use of namespaces makes that impossible. Is
a browser going to recognize strict:p? And if XHTML documents for browsers
don't use namespaces why do we have to use them with XML?


Marc B. McDonald
Principal Software Scientist

Design Intelligence, Inc.
1111 Third Avenue, Suite 1500
Seattle, WA  98101
marc.mcdonald@design-intelligence.com
Ph: 206.343-7797
Fax: 206.343.7750

http://www.design-intelligence.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