List Info

Thread: Possible bug in libxml2?




Possible bug in libxml2?
country flaguser name
Germany
2007-02-03 20:16:49
Hello,

I wanted to create a gettext portable object template (.pot)
file from
Norman Walsh's "DocBook: The Definitive Guide".
Therefor I used:

xml2po -e -o book.pot book.xml

in http://docbook.svn.sourceforge.net/viewvc/do
cbook/trunk/defguide/en/
and received a segmentation fault. So I started gdb and got
the attached
backtrace. Can any of you say, where the segmentation fault
is produced
- in xml2po or libxml2/python-libxml2 - so I can file a
bug-report?
xmllint validates the XML source if you fix the <tag>
element in
refpages/elements/equation/refentry.xml (should be an
sgmltag element).

CCing Danilo Segan, the maintainer of xml2po

Thanks for any help,
Regards, Daniel

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml

  
Re: Possible bug in libxml2?
country flaguser name
Germany
2007-02-03 20:22:10
Am Sonntag, den 04.02.2007, 03:16 +0100 schrieb Daniel
Leidert:

> I wanted to create a gettext portable object template
(.pot) file from
> Norman Walsh's "DocBook: The Definitive
Guide". Therefor I used:
> 
> xml2po -e -o book.pot book.xml
> 
> in http://docbook.svn.sourceforge.net/viewvc/do
cbook/trunk/defguide/en/
> and received a segmentation fault. So I started gdb and
got the attached
> backtrace. Can any of you say, where the segmentation
fault is produced
> - in xml2po or libxml2/python-libxml2 - so I can file a
bug-report?
> xmllint validates the XML source if you fix the
<tag> element in
> refpages/elements/equation/refentry.xml (should be an
sgmltag element).

I forget. See the attached Makefile (and replace the
defguide/en/Makefile with the attached one) to create
bookinfo.xml with
xsltproc and you don't need any further stuff from upstreams
SVN to
create all files to reproduce the bug. Just run

make bookinfo.xml
xml2po -e -o book.pot book.xml

to try to reproduce the bug.

Regards, Daniel

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml

  
Re: Possible bug in libxml2?
country flaguser name
Yugoslavia
2007-02-04 19:09:55
Hi Daniel,

Јуче у 3:22, Daniel Leidert написа:

>> I wanted to create a gettext portable object
template (.pot) file from
>> Norman Walsh's "DocBook: The Definitive
Guide". Therefor I used:
>> 
>> xml2po -e -o book.pot book.xml
>> 
>> in http://docbook.svn.sourceforge.net/viewvc/do
cbook/trunk/defguide/en/
>> and received a segmentation fault. So I started gdb
and got the attached
>> backtrace. Can any of you say, where the
segmentation fault is produced
>> - in xml2po or libxml2/python-libxml2 - so I can
file a bug-report?
>> xmllint validates the XML source if you fix the
<tag> element in
>> refpages/elements/equation/refentry.xml (should be
an sgmltag element).

It's most likely an xml2po bug.  Please file a bug (so it's
not lost)
and I'll investigate:

  http://bugzilla.gnome.org/enter_bug.cgi?product=xml2po

Cheers,
Danilo
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xmlgnome.org
http://mai
l.gnome.org/mailman/listinfo/xml
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )