Converting XML files to PO
Yuan Yijun
bbbush.yuan at gmail.com
Fri May 12 01:24:41 UTC 2006
2006/5/12, Pawel Sadowski <mcgiwer at fedoraproject.org>:
> I get this error during converting:
>
> [mcgiwer at redhat pl]$ xml2po -o pl.po *.xml
> Warning: image file '/wiki/ntheme/img/alert.png' not found.
> Warning: image file '/wiki/ntheme/img/alert.png' not found.
> Traceback (most recent call last):
> File "/usr/bin/xml2po", line 723, in ?
> CurrentXmlMode.preProcessXml(doc,msg)
> File "/usr/share/xml2po/docbook.py", line 142, in preProcessXml
> root = doc.getRootElement()
> File "/usr/lib/python2.3/site-packages/libxml2.py", line 4010, in
> getRootElement
> if ret is None:raise treeError('xmlDocGetRootElement() failed')
> libxml2.treeError: xmlDocGetRootElement() failed
>
> Regards,
> Pawel Sadowski
>
>
> On 11-05-2006, thu at 11:37 +0800, Yuan Yijun wrote:
> > XML Validation passed.
> > xml2po succeeded.
> > No problem found for that file.
> > What's the expanded value of your "*.xml"?
> >
> >
maybe you can try this:
for i in "*.xml"; do xmllint $i; done
fix any problems in your xml files before proceed.
.02
--
bbbush ^_^
More information about the fedora-docs-list
mailing list