W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

help with dtds

From: Brenda <brenda@wallace.net.nz>
Date: Mon, 12 Jul 2004 17:03:41 +1200
To: www-validator@w3.org
Message-ID: <opsa0doffthpzyq9@mail.wallace.net.nz>

i'm validating a page and i just can't work out why i'm getting this error.
the best conclusion i have is that something is wrong the dtd might have a  
problem.

the error message i have is:
Line 60, column 309: there is no attribute "format"
...on="/mobile/quick.php"><input format="10N" name="eid"  
value=""/><br/><input

the dtd is
http://www.openwave.com/DTD/xhtml-mobile10.dtd


inside this dtd i can find <input> defined as follows:
<!ENTITY % Boolean.datatype "(true | false)" >
<!ATTLIST %input.qname;
emptyok %Boolean.datatype; "false"
format CDATA #IMPLIED
istyle CDATA #IMPLIED
localsrc CDATA #IMPLIED
>


this is the only place the input tag is defined within this dtd, and i can  
see there's a format there which allows CDATA... so i don't know how i'm  
supposed to proceed.
the dtd tells me i'm allowed to use <input format="10N"... >.. but the  
validator doesn't.

i want to get this right so any help is appreciated.

-Brenda

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Received on Monday, 12 July 2004 01:02:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:14 GMT