RE: Notation Declaration valid or not

Have you tried using the W3C schema validation service? It can often give
you an answer to these questions. It's also a good idea to get hold of a
tool such as Stylus Studio or oXygen that gives you access to multiple
schema validators.
 
Saxon says:
 
Error at xsd:notation on line 3 column 126 of test.xsd:
  Attributes in the XML Schema namespace are not allowed
Warning: at xsd:notation on line 3 column 126 of test.xsd:
  For compatibility, a notation should not have both a public identifier and
a system identifier
Schema processing failed: One error was found while processing the schema
 
Generally, additional namespaced attributes are allowed - but not in the XSD
namespace.
 
Michael Kay
http://www.saxonica.com/


  _____  

From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On
Behalf Of bharath
Sent: 05 December 2008 07:24
To: xmlschema-dev@w3.org
Subject: Notation Declaration valid or not



Hi..

Can u please tell me whether the following  notation is valid or not. where
there is an attribute "a:b="c"" in the declaration.

 

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

       <xsd:notation a:b="c" name="jpeg" public="image/jpeg"
system="viewer.exe" xmlns:a="http://www.w3.org/2001/XMLSchema"/>

</xsd:schema>

 

Thanks and Regards,

Bharath.

 

****************************************************************************
****************************
 This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!

 

Received on Friday, 5 December 2008 09:09:47 UTC