W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2008

RE: Notation Declaration valid or not

From: Michael Kay <mike@saxonica.com>
Date: Fri, 5 Dec 2008 09:09:09 -0000
To: <bharathkr@huawei.com>, <xmlschema-dev@w3.org>
Message-ID: <D6247DC83F0F425CA837BFA5F9E0A70C@Sealion>
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
Michael Kay


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


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"/>



Thanks and Regards,



 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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:15 UTC