[Traduc] erreur formatage docbook

Guillaume Lelarge guillaume at lelarge.info
Dim 10 Aou 20:15:17 CEST 2008


deny a écrit :
>> Je pense plutôt que tu as dû laisser un (ou plusieurs) caractères non 
>> encadrés par des balises après ta 14è section (14è en partant du début).
> 
> merci je vais jeter un coup d'oeil
> mais pourquoi après la 14e ?

Le formatage du message d'erreur te le dit. Il t'indique que le contenu 
de l'article ne suit par la DTD (« Element article content does not 
follow the DTD »), qu'il s'attend à ce qui suit le mot « extending » et 
qu'il a obtenu (« got ») :

(articleinfo section section section section section
section section section section section section section section
section CDATA section section section section section section section
section section section section section section section section section )

Soit un tag articleinfo, suivi de plusieurs (14) tags section, suivi 
d'un CDATA, suivi d'un groupe (16) de tags section. Et si tu relis ce 
que la DTD attend, il n'y a pas de CDATA.

>>>
>>> element article: validity error : Element article content does not 
>>> follow the DTD, expecting ((title , subtitle? , titleabbrev?)? , 
>>> articleinfo? , tocchap? , lot* , (((calloutlist | glosslist | 
>>> bibliolist | itemizedlist | orderedlist | segmentedlist | simplelist | 
>>> variablelist | caution | important | note | tip | warning | 
>>> literallayout | programlisting | programlistingco | screen | screenco 
>>> | screenshot | synopsis | cmdsynopsis | funcsynopsis | classsynopsis | 
>>> fieldsynopsis | constructorsynopsis | destructorsynopsis | 
>>> methodsynopsis | formalpara | para | simpara | address | blockquote | 
>>> graphic | graphicco | mediaobject | mediaobjectco | informalequation | 
>>> informalexample | informalfigure | informaltable | equation | example 
>>> | figure | table | msgset | procedure | sidebar | qandaset | task | 
>>> anchor | bridgehead | remark | highlights | abstract | authorblurb | 
>>> epigraph | indexterm | beginpage)+ , (sect1* | refentry* | simplesect* 
>>> | section*)) | sect1+ | refentry+ | simplesect+ | section+) , (toc | 
>>> lot | index | glossary | bibliography | appendix | colophon | 
>>> ackno)*), got (articleinfo section section section section section 
>>> section section section section section section section section 
>>> section CDATA section section section section section section section 
>>> section section section section section section section section section )
>>>


-- 
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com



Plus d'informations sur la liste de diffusion Traduc