[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Problem with po2xml
From:       Håvard Korsvoll <korsvoll () skulelinux ! no>
Date:       2003-09-30 21:47:13
[Download RAW message or body]

Hi

I am trying to build the documentation for kword  (Norwegin bokmål). All the 
po-files are syntactic correct. All the docbook-files are generated except 
the index-file. It seems like po2xml jumps over some sections. For example, 
the <author>-tag is not filled with info.

In addition there are several errormessages about tags/elements that is 
missing when following the DTD-rules. The errormessages from "meinproc 
--check --stdou" are in a attatchment.

Any suggestions?

I am using the english docbook-files from HEAD. The pot-files are created from 
head (but not by me).

Regards Håvard

Original index.docbook 50-59:
<authorgroup>
<author>
<firstname>Mike</firstname>
<surname>McBride</surname>
<affiliation>
<address></address>
</affiliation>
</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>

kmail.po:
#: index.docbook:50
#, no-c-format
msgid ""
"<firstname>Mike</firstname> <surname>McBride</surname> <affiliation> "
"<address><email>mpmcbride7@yahoo.com</email></address> </affiliation>"
msgstr ""
"<firstname>Mike</firstname> <surname>McBride</surname> <affiliation> "
"<address><email>mpmcbride7@yahoo.com</email></address> </affiliation>"

Frå po2xml 52-69:
<authorgroup>
<author
>  </author>
<othercredit role="translator"
><firstname
>Bjørn</firstname
><surname
>Steensrud</surname
><affiliation
><address
><email
>bjornst@powertech.no</email
></address
></affiliation
>

["kword-docbook.log" (text/x-log)]

index.docbook:54: validity error: Element author content does not follow
the DTDExpecting (honorific | firstname | surname | lineage | othername 
| affiliation | authorblurb | contrib)+, got ()>  </author>
            ^
index.docbook:364: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got (CDATA guimenu 
guimenuitem)> fra menylinjen.</para> ^
index.docbook:21: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got (guimenu CDATA 
guimenuitem)> fra menylinja.</para ^
index.docbook:428: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:894: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:906: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:948: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1242: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1258: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1268: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1410: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1460: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1660: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:1839: validity error: Element menuchoice content does not 
follow the DTDExpecting (shortcut? , (guibutton | guiicon | guilabel | 
guimenu | guimenuitem | guisubmenu | interface)+), got ()> </term
 ^
index.docbook:4054: validity error: Element para is not declared in para 
list of possible children></para>
        ^
index.docbook:2553: validity error: Element keycombo content does not 
follow the DTDExpecting (keycap | keycombo | keysym | mousebutton)+, got
></entry
 ^


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic