How do XML NameSpace aware processors react to NS definations?
Ronald Bourret
rbourret at ito.tu-darmstadt.de
Mon Nov 9 11:35:25 GMT 1998
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 at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list