XML: Well-formedness and error-handling
The XML specification defines an XML document as a text which is wellFormed, i.e. it satisfies a list of syntax rules provided in the specification. ...
readmore
Take charge of shaping your own destiny …
[caption id="attachment_257" align="aligncenter" width="865" caption="Take Charge..."][/caption] ...
readmore
Uncategorized's Articles
XML: Well-formedness and error-handling
The XML specification defines an XML document as a text which is wellFormed, i.e. it satisfies a list of syntax rules provided in the specification. The list is fairly lengthy; some key points are:
- It contains only properly encoded legal Unicode characters.
- None of the special syntax characters such as “<” and “&” appear except when performing their markup-delineation roles.
- The begin, end, and empty-element tags which delimit the elements are correctly nested, with none missing and none overlapping.
- The element tags are case-sensitive; the beginning and end tags must match exactly.
- There is a single “root” element which contains all the other elements.
The definition of an XML document excludes texts which contain violations of well-formedness rules; they are simply not XML.
An XML processor which encounters such a violation is required to report such errors and to cease normal processing.
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!








