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

RE: XML NOTATION Error - with DTD

Subject: RE: XML NOTATION Error - with DTD
From: "Dudley, Mark" <Mark.Dudley@xxxxxxxxxxxxx>
Date: Mon, 21 May 2001 16:57:43 -0400
eurocenter ddc
Thushara,

Your ACTION element must have the NOTATION attribute set as either A, C, or
D any time it is declared. Your XML example shows ACTION without the
NOTATION attribute declared.

Mark Dudley

	-----Original Message-----
	From:	Thushara Perera [SMTP:thusharap@xxxxxxxxxxxxx]
	Sent:	Monday, May 21, 2001 6:18 AM
	To:	XML-DEV (E-mail); XSL News Group (E-mail)
	Subject:	XML NOTATION Error - with DTD

	Hi
	 
	Could someone please help me with this ?
	 
	I have an XML file and a DTD file to validate this XML file. In my
XML file I have something like:
	 
	.....
	.......
	 <PRODUCTS>
	    <PRODUCT xml:lang="en"> 
	   <SUPPLIER> 
	     <COMPANYID QUALIFIER="TRA">12345</COMPANYID>
	     <COMPANYNAME>Test Company</COMPANYNAME>
	   </SUPPLIER>
	      <ACTION>A</ACTION>
	      <PRODUCTID QUALIFIER="mk">1234</PRODUCTID>
	      <MANUFACTURER>
	         <COMPANYID QUALIFIER="TRA">67890</COMPANYID>
	....
	...
	 
	and my DTD has something like this:
	 
	.....
	....
	<!NOTATION ISODATE SYSTEM " <http://www.iso.ch/cate/d15903.html>>
	

	<!ELEMENT ACTION        (#PCDATA)>
	        <!ATTLIST ACTION NOTATION (A|C|D) #REQUIRED>
	.....
	...
	 
	and when I validate the file, it gives me this error.
	 
	"Required attribute 'NOTATION' is missing."
	 
	What would be the error in this ?
	 
	Thanks a lot
	 
	Thushara
	 
	 
	 
	 
	 
	 
	 
	 
	  

	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	Thushara Perera @ EuroCenter DDC LTD 
	Colombo 3 
	Sri Lanka 
	~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

	 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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-2013 All Rights Reserved.