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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: "Namespaces in XML" idea?

[ Lists Home | Date Index | Thread Index ]
  • From: Dan Brickley <Daniel.Brickley@bristol.ac.uk>
  • To: XML Developers' List <xml-dev@ic.ac.uk>
  • Date: Tue, 9 Feb 1999 09:42:51 +0000 (GMT)

On Tue, 9 Feb 1999, Ronald Bourret wrote:

> Lars Marius Garshol wrote:
> 
> By the way, I was a little surprised to read that expat does not pass xmlns 
> attributes to the application.  I had always assumed that attributes were 
> part of the document's data and therefore the processor was required to 
> pass them to the application.  [...]

A pragmatic reason for passing on the xmlns:xyz information is that some
applications might want to go beyond what 'Namespaces in XML' itself
provides and use similarly abbreviated values _inside_ data attributes
instead of full URIs (eg. for data types), and make use of the XMLNS
info when doing so.

eg.
	<ABC dt:dt="http://xmlschemas.org/useful/datatypes/Float>22.2232</ABC>
	versus
	<ABC dt:dt="USEFUL:Float">22.2232</ABC>

	(where USEFUL has an xmlns:USEFUL declaration somewhere)

By cutting out this information at such a low level, applications won't
be able to consider doing this sort of thing.

Dan


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