Notation Information Items
When notations are used, these information items are normally saved by applications during DTD processing (keyed by notation name) and then accessed on demand. Notations are used with NOTATION attributes (at most one per element) or with unparsed entities, and perhaps with processing instruction target names.
Property |
Callbacks |
Explanation |
---|---|---|
[name] |
|
|
[system identifier] |
|
Notations are not required to have system identifiers if they have a public identifier. This ID should be absolutized by the parser. However, some parsers have a bug here and don’t absolutize this URI—although, because of an issue with early versions of the SAX1 and SAX2 specifications, some parsers might absolutize such URIs. |
[public identifier] |
|
Notations are not required to have public identifiers if they have a system identifier. When provided, this value is normalized. |
[declaration base URI] |
|
If a SAX event producer provides a
Locator, it can be used
to determine the current base URI during
parser callbacks.
( |
Get SAX2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.