Peter van der Meer <[EMAIL PROTECTED]> wrote:
> My tomcat-installation displays the following in its stdout.log:
> 
> 10:21:52,921 ERROR   org.mmbase.util.XMLErrorHandler - optreder.xml line:7
> column:30: Element type "wizard-schema" must be declared.
> 10:21:52,921 WARN    mmbase.applications.editwizard.Utils - No DocumentType
> speficied in
> D:\tomcat\4.1.27\webapps\ceportal\mmapps\editwizard\data\optreder\optreder.x
> ml
> 
> According to Ernst it is not neccesary to declare a dtd in the xml. Strange
> about this thing is that after the error has been seen by tomcat, the
> xml-file containing the error is displayed properly.

It is not necessary to declare it, but it is advisable, because you will:

- get much clearer syntax errors (dtd checking will show exceptions if you
  use unknown attributes or tags (read 'make typos'))

- will avoid these two entries in your log

Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to