Re: Converting XML files to PO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2006/5/12, Pawel Sadowski <mcgiwer@xxxxxxxxxxxxxxxxx>:
I get this error during converting:

[mcgiwer@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 ^_^

--

fedora-docs-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-docs-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Red Hat 9]     [Yosemite News]     [KDE Users]

  Powered by Linux