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

RE: Notation declaration without "Name" attribute

From: Michael Kay <mike@saxonica.com>
Date: Fri, 5 Dec 2008 10:26:26 -0000
To: <bharathkr@huawei.com>, <xmlschema-dev@w3.org>
Message-ID: <9E94532F72F2432D84B9B892991C90DD@Sealion>
Invalid
 
Error at xsd:notation on line 5 column 64 of test.xsd:
  The required attribute @name is missing from the <xsd:notation> element
Warning: at xsd:notation on line 5 column 64 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
 
I'm puzzled by this line of questioning. This is not a schema validation
service. It's reasonable to ask such questions if the spec is unclear, but I
don't think it is. If you want to ask such questions, please try to explain
why you think the answer is in doubt.
 
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 10:10
To: xmlschema-dev@w3.org
Subject: Notation declaration without "Name" attribute



Hi .

 

Can u please tell me whether the following schema is valid or invalid..

 

<?xml version="1.0"?>

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

        <xsd:notation public="image/jpeg" system="viewer.exe"/>

</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 10:27:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:09 GMT