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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: How much extra code for multiple Namespaces?

[ Lists Home | Date Index | Thread Index ]
  • From: roddey@us.ibm.com
  • To: xml-dev@ic.ac.uk
  • Date: Tue, 7 Sep 1999 16:55:42 -0600




>From: <schen@falconwing.com>
>If you have such a mechanism then it should be fairly trivial to map all
>three XHTML namespaces into one, if as you say 99% of applications will
>treat them all the same anyway.  Then it is nowhere near the extra amount
>of code that you claim?  If you could, pls give an example!
>

The problem is that this is just one instance of this situation. If you allow it
here, will you make this the one and only special dispensation for it? If so,
then maybe all apps that deal with HTML can deal with this one case specially
and perhaps its no big deal (to me anyway, since I just write parsers :-)

But, if its not, how do you generalize it? Do you fill your XML processor with
lists of equivalent URLs, and tell it when and where they are really equivalent?
Otherwise, there is no way for a parser to validate such documents or even
confirm that it meets XML 1.0 rules (such as no reuse of the same attribute in
an element.)

And, even if you do this, you've put a big new burden on all processors to
support this kind of functionality. It will mean a performance hit because there
is no longer a unique string (uri-name, probably put into a pool and turned into
a single unique number) which represents an element or attribute. It would be a
significant change required in processors to handle this kind of thing.

----------------------------------------
Dean Roddey
Software Weenie
IBM Center for Java Technology - Silicon Valley
roddey@us.ibm.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