Bug 290836

Summary: Error while using update_xml
Product: [Websites] docs.kde.org Reporter: Luiz Fernando Ranghetti <elchevive>
Component: ksgmltoolsAssignee: Luigi Toscano <luigi.toscano>
Status: ASSIGNED ---    
Severity: normal CC: aacid, chocimier, lueck, luigi.toscano
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

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. ***