Need help deciphering a xmlto error message

Dave Pawson dpawson at nildram.co.uk
Sat Feb 7 07:43:24 UTC 2004


At 07:31 07/02/2004, Mike MacCana wrote:
>Obviously my doc doesn't conform to the DTD - but does it really need all
>the sections mentioned? Or are some of them optional?


The message is saying 'these elements are valid here,
   and your document doesn't have any of them


>If its a simple answer, what's my doc currently lacking - as I started
>from the example tutorial...


try
  <article>
     <title>Article title</title>
    <sect1>
      <title>Section title</title>
  <para> ......

HTH


>Thanks for any help,
>
>Mike
>
>/home/mikem/fedora-docs/web-serving-tutorial/web-serving-tutorial-en.xml:18:
>element article: validity error : Element article content does not follow
>the DTD, expecting ((title , subtitle? , titleabbrev?)? , articleinfo? ,
>tocchap? , lot* , (((calloutlist | glosslist | 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 | anchor |
>bridgehead | remark | highlights | abstract | authorblurb | epigraph |
>indexterm | beginpage)+ , (sect1* | refentry* | simplesect* | section*)) |
>sect1+ | refentry+ | simplesect+ | section+) , ((toc | lot | index |
>glossary | bibliography) | appendix | ackno)*), got (articleinfo section
>section section sect1 section )
>
>^ this is the main stuff I find confusing.
>
>Mike
>__________________________________________________________________________
>Mike MacCana             Consultant            RHCE, MCSE, MCP+I
>Cybersource: Providing Quality IT Professional Services for 11 Years
>Specialists in Unix/Linux, TCP/IP and Web Application Development
>Level 4, 10 Queen St, Melbourne.  Ph : 03 9621 2377 Fax: 03 9621 2477
>
>
>--
>fedora-docs-list mailing list
>fedora-docs-list at redhat.com
>To unsubscribe:
>http://www.redhat.com/mailman/listinfo/fedora-docs-list






More information about the fedora-docs-list mailing list