[XML-SIG] What does: Expected type or alternative list mean?

Alexandre Alexandre.Fayolle@logilab.fr
Wed, 18 Dec 2002 09:16:00 +0100


On Tue, Dec 17, 2002 at 09:25:18PM +0100, Remy C. Cool wrote:
> When I validate my xml file with xmlproc ... I get the error:
> xpdf.xml:2:34: Expected type or alternative list
> 
> My xml file starts like this:
> 
> <?xml version="1.0" standalone="no"?>
> <!DOCTYPE xpdf SYSTEM "xpdf.dtd">
> <xpdf>
>   <template>
> 	...
> 
> According to the parser, the error should be in the <!DOCTYPE 
> definition. Pointers, solutions or clues appreciated.

The problem seems to live in line 2 of xpdf.dtd, and not of the XML
document. 
 

-- 
Alexandre Fayolle
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Développement logiciel avancé - Intelligence Artificielle - Formations