[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: Notation declaration without "Name" attribute
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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.