[Home] [By Thread] [By Date] [Recent Entries]

  • From: Thushara Perera <thusharap@e...>
  • To: "XML-DEV (E-mail)" <xml-dev@l...>,"XSL News Group (E-mail)" <XSL-List@l...>
  • Date: Mon, 21 May 2001 16:18:26 +0600

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member