Re: Failed validation, 0 error - Part II

On Wed, 13 Sep 2006, Dominik Leiner wrote:

> The DTD is correclty found, the source ans parse tree is shown on demand. So 
> what can the problem be?
> The URL (demo data) is: http://ofbeta.msd-media.de/layout/project.xml - and 
> the Service says: "This page is not Valid 
> http://ofbeta.msd-media.de/layout/oFb.structure.dtd". But why???

The problems is in the DTD. The W3C validator detects an error there but 
does not report it and does not perform validation (contrary to the 
statement "Below are the results of checking this document for XML 
well-formedness and validity.").

Using the WDG validator at
http://www.htmlhelp.com/tools/validator/
you can find out what's wrong with the DTD:

http://ofbeta.msd-media.de/layout/oFb.structure.dtd, line 20, character 
27: element type "layout" already defined
http://ofbeta.msd-media.de/layout/oFb.structure.dtd, line 24, character 
30: #PCDATA in model group that does not have rep occurrence indicator

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Thursday, 14 September 2006 10:16:31 UTC