[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How much extra code for multiple Namespaces?

  • From: roddey@u...
  • To: xml-dev@i...
  • Date: Tue, 7 Sep 1999 16:55:42 -0600

Re: How much extra code for multiple Namespaces?



>From: <schen@f...>
>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@u...



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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.