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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX2: Namespace proposal

[ Lists Home | Date Index | Thread Index ]
  • From: Eric Bohlman <ebohlman@netcom.com>
  • To: Tim Bray <tbray@textuality.com>
  • Date: Sat, 18 Dec 1999 18:46:57 -0800 (PST)

On Sat, 18 Dec 1999, Tim Bray wrote:
> Actually, as I just finished arguing in response to your other note, 
> I think what people care about is having the prefix/uri mapping available,
> not knowing what prefix was actually used.  Have I missed something? Is
> there an application scenario where you get
> 
> <a xmlns:a="http://x.com" xmlns:b="http://x.com">
>   <a:foo /><b:bar />
>   </a>
> 
> ...and you actually care that the foo and bar had different prefixes?  
> I'd find that really hard to believe.

I can think of one such class of applications: editors or other tools that
transform human-generated XML documents into other human-edited and read
XML documents.  A near-perennial question on some of the Usenet XML
newsgroups is how to keep a tool from transforming <element></element>
into <element/>.  Admittedly, such applications are going to be a
minority, and support for such requirements should probably lurk in the
corners of the interface rather than being the first thing anybody sees
(we do *not* want to encourage developers to think of prefix names as the
"official" identifiers for namespaces!; I have a depressing hunch that a
majority of people who use XSLT believe that "<xsl:for-each>" is *the*
proper name for one of that language's elements, rather than one of
several), but a complete lack of support for such requirements will, IMHO,
encourage people to hack-parse with regexes or the like in such
applications, which is, again IMHO, not a Good Thing (and, YAIMHO, a Worse
Thing than indulging people's religious beliefs about how a document's
"source code" should "look").


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 unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe 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