home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Book HomeSAX2Search this book

B.11. Unparsed Entity Information Items

When unparsed entities are used, these information items are normally saved by applications during DTD processing (keyed by entity name) and then accessed on demand. Unparsed entities are used only with attribute values of type ENTITY or ENTITIES.

     

Property

Callbacks

Explanation

[name]

DTDHandler.unparsedEntityDecl(), name parameter

[system identifier]

DTDHandler.unparsedEntityDecl(), systemId parameter

This ID should be absolutized by the parser. However, some parsers have a bug here and don't absolutize this URI.

[public identifier]

DTDHandler.unparsedEntityDecl(), publicId parameter

Unparsed entities are not required to have public identifiers. When provided, this value is normalized.

[declaration base URI]

Locator.getSystemId()

If a SAX parser provides a Locator, it may be used to determine the current base URI during parser callbacks. (xml:base does not apply.)

[notation name]

DTDHandler.unparsedEntityDecl(), notationName parameter

[notation]

See the section on Notation Information Items. Locating notations is the responsibility of applications. It's best not to try accessing this property until all declarations have been processed.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.











??????????????@Mail.ru