Interview Questions

Does the XML namespaces recommendation define anything except a two-part naming system for element types and attributes?

XML Interview Questions and Answers


(Continued from previous question...)

58. 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.
* A way to associate XML namespaces and schema information.
* A way to validate documents that use XML namespaces.
* A way to associate element type or attribute declarations in a DTD with an XML namespace.

(Continued on next question...)

Other Interview Questions