|
From: PS <blo...@ma...> - 2005-03-02 16:45:42
|
Hello
I compiled libxml++ and used the first example from manual (the dom parser)
When I run in on windows everything worked ok, but on unix (I use
FreeBSD 4.11) it gave me errors:
...
...
Node name = title
Node name = title
line = 8
Text Node
terminate called after throwing an instance of 'Glib::ConvertError'
text = "Abort (core dumped)
the sample xml file was:
<?xml version="1.0" encoding="windows-1251"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Производство хлопкового...</title>
So, as you might see, it coredumps just when it attempted to recode non
english chars inside title.
What's wrong with this?? Thank you
|