RE: Section 23.4 Appendix 4 - XML Namespace in WebDAV

>
> are we talking about whether the following elements are
> equivalent or not?
>
>      <cars:part xmlns:cars="http://www.cars.com/xml"/>
>      <cars:mlpart xmlns:cars="http://www.cars.com/x"/>
>      <cars:xmlpart xmlns:cars="http://www.cars.com/"/>

Yes, this is exactly the question.

> if so, I've once asked James Clark about this, and his answer was
> that "the XML namespaces spec doesn't make them equivalent",
> but on the other hand, that an XML system using namespaces
> can treat them all the same if it wants to.

WebDAV decided to define rules which state that an element name is
concatenated to the end of a namespace name to create a full element name.
All WebDAV conformant applications (this is stated in 23.4) must treat a
combination of a namespace and an element name as a full element name which
is created by concatenation.

Since the XML namespace specification was undefined in this area, the WebDAV
specification added additional requirements, for WebDAV XML namespace
applications only, to make this well defined for DAV applications.

- Jim

Received on Tuesday, 30 March 1999 16:03:33 UTC