Interview Questions

Do XML namespace declarations apply to DTDs?

XML Interview Questions and Answers


(Continued from previous question...)

87. Do XML namespace declarations apply to DTDs?

No.
In particular, an xmlns attribute declared in the DTD with a default is not an XML namespace declaration for the DTD.. (Note that an earlier version of MSXML (the parser used by Internet Explorer) did use such declarations as XML namespace declarations, but that this was removed in MSXML 4.

(Continued on next question...)

Other Interview Questions