Stylus Studio XML Editor

Table of contents

Appendices

4.7 Notation Declarations

Notation Declarations

Notations identify by name the format of External Entity, the format of elements which bear a notation attribute, or the application to which a Processing instruction is addressed.

Notation declarations provide a name for the notation, for use in entity and attribute-list declarations and in attribute specifications, and an external identifier for the notation which may allow an XML processor or its client application to locate a helper application capable of processing data in the given notation.

Notation Declarations
4.7    NotationDecl   ::=   '<!NOTATION' S Name S (ExternalID | PublicID) S? '>'[VC: Unique Notation Name]
4.7    PublicID   ::=   'PUBLIC' S PubidLiteral

Validity Constraint: Unique Notation Name

Unique Notation Name

A given Name MUST NOT be declared in more than one notation declaration.

XML processors MUST provide applications with the name and external identifier(s) of any notation declared and referred to in an attribute value, attribute definition, or entity declaration. They MAY additionally resolve the external identifier into the System Identifier, file name, or other information needed to allow the application to call a processor for data in the notation described. (It is not an error, however, for XML documents to declare and refer to notations for which notation-specific applications are not available on the system where the XML processor or application is running.)