lmi
[Top][All Lists]
Advanced

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

Re: [lmi] Unit test not passing with libxml++


From: Evgeniy Tarassov
Subject: Re: [lmi] Unit test not passing with libxml++
Date: Mon, 16 Oct 2006 01:55:15 +0200

Hello Greg,

On 10/15/06, Greg Chicares <address@hidden> wrote:
This unit test passes cleanly in MAIN, but has a problem on that
new branch:

There was a bug in inputillus_xml_io.cpp code -- it was not reading
cell_version from the xml node but was using an empty string and the
expression
   int cell_version = value_cast<int>(cell_version_string);
couldn't handle an empty string and threw an exception std::invalid_type.

I have fixed it and commited to the gnome-xml-branch. Now the test
passes without no error.

This message
  "Document not well-formed."
appears when I try to load a saved '.ill' or '.cns' file, but I

There was also an issue with libxml++ putting a default empty value ""
as xml document encoding which is not allowed. Fixed it by putting
"utf-8" as a default encoding and commited into the same branch. Now
loading works aswell.

I have also made some changes to Makefile.am and configure.ac to use libxml++.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]