XML support

Using SP to parse XML

To enable SP's support for XML 1.0:

Limitations

SP does not enforce the following XML constraints:

Line ends are normalized using SGML conventions to a CR/LF character pair rather than using the XML convention of a single LF character.

There is no support for characters outside the basic multilingual plane (ie those with scalar values greater than U+FFFF).

SP does not enforce XML's rules on not continuing normal processing after an error. Applications can enforce these if they choose.

Web SGML Adaptations Annex

SP's support for SGML is based on Annex K of ISO 8879 (the Web SGML Adaptations Annex). The following features of Annex K are not yet implemented:

James Clark
jjc@jclark.com