The DTD instance has not been fully parsed and cannot be inspected.

#6151   Run-time catchable error

The DTD instance has not been fully parsed and cannot be inspected.

Additional Information

The DECLARED-ELEMENTS of an uninitalized DTD instance are not available.
The DECLARED-GENERAL-ENTITIES of an uninitalized DTD instance are not available.
The DECLARED-PARAMETER-ENTITIES of an uninitalized DTD instance are not available.

Explanation

This error is thrown by declared-elements, declared-general-entities, and declared-parameter-entities when their argument DTD is not fully initialized. A possible reason is that the parse that created the DTD instance has not reached the dtd-end point yet.