Notation Declaration Schema Component

Hello,

XML Schema Part 1 seems ambiguous w.r.t. the constraints on Notation 
Declarations.

In the definition "Schema Component: Notation Declaration", one can read:

==============================================================
{system identifier}
     Optional if {public identifier} is present. A URI reference.
{public identifier}
     Optional if {system identifier} is present. A public identifier, as 
defined in [XML 1.0 (Second Edition)].
==============================================================

which means that in the Schema document model, at least one of
the two identifiers must be present.

But there is no formal constraint to ensure that in the XML 
representation of XML Schema, neither in the text of the recommendation 
nor in the Schema for Schema.  I guess there should be an additional 
constraint in "3.13.3 Constraints on XML Representations of Annotations".

Moreover, the mapping "XML Representation Summary: notation Element 
Information Item" says:

==============================================================
{system identifier}	The ·actual value· of the system [attribute], if 
present, otherwise ·absent·.
{public identifier}	The ·actual value· of the public [attribute]
==============================================================

which doesn't allow the public identifier to be missing. I guess there 
is missing "if present, otherwise ·absent·.".

-- Alain

Received on Monday, 9 May 2005 17:50:28 UTC