W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2005

Notation Declaration Schema Component

From: Alain Frisch <Alain.Frisch@inria.fr>
Date: 09 May 2005 11:49:56 -0600
Message-ID: <4279B202.9000401@inria.fr>
To: www-xml-schema-comments@w3.org


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

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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:03 UTC