Limitations of SAX (Windows Embedded CE 6.0)

1/6/2010

The following are some of the limitations of SAX.

No random access to the document

Because the document is not in memory, you must handle data in the order in which it is processed. As a result, SAX can be difficult to use when the document contains many internal cross-references, such as ID and IDREF attributes.

Difficult to implement complex searches

It is your responsibility to maintain data structures holding context information that you must retain, such as the attributes of the current element's ancestor.

No SAX implementation in current browsers

SAX support is not built into Microsoft® Internet Explorer.

See Also

Concepts

Choosing Between SAX and DOM
Best Practices for SAX
Best Practices for DOM