Saved Bookmarks
| 1. |
What is the difference between well-formeches and validity of an XML document? |
|
Answer» Answer: Valid XML is XML that succeeds VALIDATION against a DTD. WELL formed XML is XML that has all tags closed in the proper order and, if it has a declaration, it has it first thing in the file with the proper attributes. In other words, VALIDITY refers to semantics, well-formedness refers to syntax. |
|