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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Another reason why namespaces URLs should not be schemas

[ Lists Home | Date Index | Thread Index ]
  • From: "Murray Maloney" <murray@muzmo.com>
  • To: "XML Dev" <xml-dev@ic.ac.uk>
  • Date: Thu, 17 Jun 1999 18:05:01 -0400

We have addressed this problem in XML Schema with the 
import/include distinction. Please take a look.

At 05:07 AM 6/18/99 +1000, Rick Jelliffe wrote:
>If I am using XHTML and I decide to refine my
>document type so that headers must be inside divisions,
>what do I do (if namespace URLs can be resolved to
>schemas)?
>
>Presumably, I have to derive a new schema based on
>the old one, with a new URL; then I have to use that new
>URL as the namespace URL. Then IE 5 and everything
>that works by using the namespace URL to signify the
>operation of an element will be broke.
>
>This seems to me to be unworkable:  if I make
>
><html  xmlns="http://rick.com.xx/my-html.xmlschema">
>...
></html>
>then a rendering engine has to download my corpulent (not to
>mention grumous) XML schema before it can find out that
>in fact my element types are HTML.
>
>So it seems that overloading the function of the namespace
>URI to also be a schema URL would have a bad effect on
>XHTML with data islands etc, or on any DTD derived from
>DTDs that are built into the processor.
>
>It seems that the situation we are reaching is that the 
>namespace prefix is being treated as unique for famous
>DTDs (e.g. how IE 5 treats html:) and that the
>URL is being used as a schema name. If people want
>to do this, that is fine, but it does not correspond to namespaces
>(in fact, it corresponds more to what I suggested in 
>XML-Bind  -- a simple prefixing system to make
>automated renaming more manageable and a way to
>bind names to schemas, except I suggested regular expression
>matching not just the prefix).
>
>Rick Jelliffe
>
>
>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)
>
>

----------------------------------------------------------
Murray Maloney, Esq.          Phone: (905) 509-9120
Muzmo Communication Inc.      Fax:   (905) 509-8637
671 Cowan Circle              Email: murray@muzmo.com
Pickering, Ontario 		Web:   http://www.muzmo.com
Canada, L1W 3K6    		

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