Interview Questions

How can I validate an XML document that uses XML namespaces?

XML Interview Questions and Answers


(Continued from previous question...)

93. How can I validate an XML document that uses XML namespaces?

When people ask this question, they usually assume that validity is different for documents that use XML namespaces and documents that don't. In fact, it isn't -- it's the same for both. Thus, there is no difference between validating a document that uses XML namespaces and validating one that doesn't. In either case, you simply use a validating parser or other software that performs validation.

(Continued on next question...)

Other Interview Questions