yangqiaosheng / libcitygml

Automatically exported from code.google.com/p/libcitygml
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Fail with xerces parser backend on Linux #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build on Ubuntu Lucid with xerces-c as parser backend
2. Test with citygmltest

What is the expected output? What do you see instead?
It should show something with -log argument.
It shows nothing as the parser does not match the elements because
of transcoding issues XMLCh -> std::string.

What version of the product are you using? On what operating system?
Trunk

Please provide any additional information below.
See attached patch to fix the issue. Under Linux you have to 
trancode the XMLCh before std::string creation. Afterwards you
must release the char array.

Original issue reported on code.google.com by wbaer76@googlemail.com on 16 Sep 2010 at 6:39

Attachments:

GoogleCodeExporter commented 9 years ago
I'll try to work on this bug at home on ubuntu.

Thanks for the report.

Regards,
Manuel

Original comment by garnier....@gmail.com on 16 Sep 2010 at 12:51

GoogleCodeExporter commented 9 years ago
Hi Wolfang!

Your changes have been added to the trunk.
It works perfectly now. Some feedback should confirm that.

Thank you for your contribution.
Manuel

Original comment by garnier....@gmail.com on 16 Sep 2010 at 9:46