Does the XML namespaces recommendation define anything except a two-part naming system for element types and attributes?
No. This is a very important point and a source of much confusion, so we will repeat it:THE XML NAMESPACES RECOMMENDATION DOES NOT DEFINE ANYTHING EXCEPT A TWO-PART NAMING SYSTEM FOR ELEMENT TYPES AND ATTRIBUTES. In particular, they do not provide or define any of the following: • A way to merge two documents that use different DTDs. (See question 10.5.) • A way to associate XML namespaces and schema information. (See question 14.6 and Namespace Myth #8.) • A way to validate documents that use XML namespaces. (See question 7.6.) • A way to associate element type or attribute declarations in a DTD with an XML namespace. (See question 7.2.
No. This is a very important point and a source of much confusion, so we will repeat it:THE XML NAMESPACES RECOMMENDATION DOES NOT DEFINE ANYTHING EXCEPT A TWO-PART NAMING SYSTEM FOR ELEMENT TYPES AND ATTRIBUTES. In particular, they do not provide or define any of the following: • A way to merge two documents that use different DTDs. (See question 10.5.) • A way to associate XML namespaces and schema information. (See question 14.6 and Namespace Myth #8.) • A way to validate documents that use XML namespaces. (See question 7.6.) • A way to associate element type or attribute declarations in a DTD with an XML namespace.
Related Questions
- Does the XML namespaces recommendation define anything except a two-part naming system for element types and attributes?
- Do XML namespaces have any function except providing a two-part naming system for element types and attributes?
- How can I use XML namespaces to combine documents that use different element type and attribute names?