Bug 290836 - Error while using update_xml
Summary: Error while using update_xml
Status: ASSIGNED
Alias: None
Product: docs.kde.org
Classification: Websites
Component: ksgmltools (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Luigi Toscano
URL:
Keywords:
: 400973 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-06 23:13 UTC by Luiz Fernando Ranghetti
Modified: 2018-11-12 20:56 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Fernando Ranghetti 2012-01-06 23:13:17 UTC
Version:           unspecified (using KDE 4.7.2) 
OS:                Linux

Hi,

Looking at the output of update_xml I found a possible error:

po2xml documentation/extragear-utils/krusader/man-krusader.1.docbook pt_BR/docmessages/extragear-utils/krusader_man-krusader.1.po
I/O warning : failed to load external entity "/usr/share/kde4/apps/ksgmltools2/customization/xsl/pt-BR.xml"

Looking at that directory, the file present is called pt_br.xml

Regards,

Luiz


Reproducible: Didn't try

Steps to Reproduce:
update_xml pt_BR extragear-utils


Expected Results:  
use the correct file or correct the filename
Comment 1 Burkhard Lück 2012-04-10 12:58:37 UTC
./scripts/update_xml pt_BR extragear-utils works for me in trunk compiled from sources
Comment 2 Luiz Fernando Ranghetti 2012-04-10 16:50:12 UTC
Hi,

I works for me too, the problem is the warning saying it does not load the entity because it tries to load pt-BR.xml (with a dash) and the actual file is pt_BR.xml (with an underscore).

Regards
Comment 3 Albert Astals Cid 2012-04-10 18:23:25 UTC
Luigi any idea?
Comment 4 Luigi Toscano 2012-04-11 09:49:28 UTC
If the bug appears only when a manpage is generated, please ignore it.
Comment 5 Luigi Toscano 2018-11-12 20:56:44 UTC
*** Bug 400973 has been marked as a duplicate of this bug. ***