Hi Marguerite,

sorry, missed your mail and with all the public holidays in between, it
vanished...

> I tried to produce a pdf, but I got these errors:
> 
> $ daps --docconfig=DC-opensuse-startup color-pdf
> MAIN.opensuse.xml:211: element filename: validity error : Element
> filename is not declared in filename list of possible children
> MAIN.opensuse.xml:15: element abstract: validity error : Element
> abstract content does not follow the DTD, expecting (title? , para+),
> got ()

This means, you haven't inserted neither title nor at least one para.


> MAIN.opensuse.xml:46: element menuchoice: validity error : Element
> menuchoice content does not follow the DTD, expecting (shortcut? ,
> guimenu+), got (guimenu CDATA guimenu)
                          ^^^^^

There is some non-space character between your consecutive guimenus.
Inside menuchoice only other elements are allowed, no text.



> MAIN.opensuse.xml:173: element guimenu: validity error : Element
> guimenu was declared #PCDATA but contains non text nodes

You can't add other elements inside guimenu. Only text is allowed.


> MAIN.opensuse.xml:11: element xref: validity error : Element xref was
> declared EMPTY this one has content

The <xref/> element is empty, neither text nor elements, even spaces are
not allowed. Just use <xref linkend="..."/> 


> MAIN.opensuse.xml:482: element xref: validity error : IDREF attribute
> linkend references an unknown ID "ex.welt.zone"
> MAIN.opensuse.xml:578: element xref: validity error : IDREF attribute
> linkend references an unknown ID "sec.basicnet.manconf.hosts"
> MAIN.opensuse.xml:33: element xref: validity error : IDREF attribute
> linkend references an unknown ID "sec.apparmor.start.update"

You need to insert an id attribute into example and section (or sect1,
sect2, ...) elements.


> when I tried to fix them, I found MAIN.opensuse.xml:XX actually does
> not have the error it warned, eg:
> [...]
> I can't see anything wrong.

If I remember correctly, some old xmllint parser couldn't deal with
correct line numbering. Usually this happens when a XML file is
splitted up into different files and the references are resolved later.

Use the "daps bigfile" command. This creates an XML file where
everything is resolved. You can find it under "build/.tmp/". This
makes it a bit easier for debugging.



-- 
Gruß/Regards,
    Thomas Schraitle

----------------------------------------------------------------------
SUSE LINUX Products GmbH     (o<   
Maxfeldstrasse 5             /\\      Documentation Specialist
90409 Nuernberg, Germany    _\_v      http://www.suse.com
http://lizards.opensuse.org/author/thomas-schraitle/
SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, 
Felix Imendörffer, HRB 21284 (AG Nürnberg) 
--
To unsubscribe, e-mail: opensuse-doc+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-doc+ow...@opensuse.org

Reply via email to