Hi, I have written just simple Vala program, which should print out name
of root element
Without this line it works "<?xml version="1.0"
encoding="windows-1250"?>" (first line in RSS xml files)
OUTPUT
$ ./xml_parser rss.xml encoding error : input conversion failed due to
input error, bytes 0x88 0x6F 0x76 0x61
encoding error : input conversion failed due to input error, bytes 0x88
0x6F 0x76 0x61
I/O error : encoder error
rss.xml:60: parser error : Premature end of data in tag title line 60
<title>Národná rada schválila povinnĂ© zverejĹ
^
rss.xml:60: parser error : Premature end of data in tag item line 59
<title>Národná rada schválila povinnĂ© zverejĹ
^
rss.xml:60: parser error : Premature end of data in tag channel line 3
<title>Národná rada schválila povinnĂ© zverejĹ
^
rss.xml:60: parser error : Premature end of data in tag rss line 2
<title>Národná rada schválila povinnĂ© zverejĹ
^
Cannot open file
Attachment:
rss.xml
Description: application/xml
Attachment:
xml_parser.vala
Description: Text Data
Attachment:
signature.asc
Description: This is a digitally signed message part