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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: How do XML NameSpace aware processors react to NS definations?

[ Lists Home | Date Index | Thread Index ]
  • From: Ronald Bourret <rbourret@ito.tu-darmstadt.de>
  • To: xml list <xml-dev@ic.ac.uk>
  • Date: Mon, 9 Nov 1998 12:30:29 +0100

Amit Rekhi wrote:
>            I am confused as to how XML NameSpace aware processors would process:- 
>
>            - Namespace definations (eg. xmlns:edi = "http://www.my.org/directory")
>            - Nameprefixes present in XML files (eg. <edi:Segment>)

The namespace URL does not signify anything at all.  It is not a directory, schema file, or anything else.  *All* it is is a unique identifier that identifies the namespace.  The prefix is a convenient shorthand for the full URL, nothing more.

When reading the namespace spec, it is important to understand that it tries to solve a single problem: ensuring that element and attribute names are unique.  This is significant when XML documents that use different DTDs are combined.  However, the namespace spec does no more than this.  In particular, it does not attempt to answer the problems of combining DTDs, combining instance files, or anything else.  Unique names.  That's it.  What your application does with those names is your business.

-- Ron Bourret

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/
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