Method NotationDecl
NotationDecl(String, String, String)
Receive notification of a notation declaration event.
Declaration
void NotationDecl(string name, string publicId, string systemId)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The notation name. |
System.String | publicId | The notation's public identifier, or |
System.String | systemId | The notation's system identifier, or |
Remarks
It is up to the application to record the notation for later reference, if necessary; notations may appear as attribute values and in unparsed entity declarations, and are sometime used with processing instruction target names.
At least one of publicId and systemId must be non-null. If a system identifier is present, and it is a URL, the SAX parser must resolve it fully before passing it to the application through this event.
There is no guarantee that the notation declaration will be reported before any unparsed entities that use it.
Exceptions
Type | Condition |
---|---|
SAXException | Any SAX exception, possibly wrapping another exception. |