DEVFYI - Developer Resource - FYI

What is well-formed

J2EE Interview Questions and Answers (Part 2)


(Continued from previous question...)

331. What is well-formed

An XML document that is syntactically correct. It does not have any angle brackets that are not part of tags, all tags have an ending tag or are themselves self-ending, and all tags are fully nested. Knowing that a document is well formed makes it possible to process it. However, a well-formed document may not be valid. To determine that, you need a validating parser and a DTD.

(Continued on next question...)

Other Interview Questions