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
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.
Life Is A Bright Sky
Life is like a bright sky;
and clouds represent instances of unhappy times.
Sometimes the clouds are so dark;
It’s hard to remember the sun still shines.
Be patient. The light will return.
It’s just waiting for an opportunity to peek through.
Want to know your past…?
| Want to know your past…? |
| “If you want to know your past — look into your present conditions. If you want to know your future — look into your present actions.”
chinese Proverb
|












