Closed GoogleCodeExporter closed 9 years ago
OK, i retested with gambas3 r5032 and the output slightly changed and it is
visible that the XMLReader component doesn't fully function. The output is now
(the warning message and some fields contain garbage!):
xmlns:aws|=|http://www.aws.com/aws
version|=|2.0
cityname|=|Zwijndrecht
gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()
gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()
statename|=|?"
countryname|=|Netherlands
zipcode|=|
citycode|=|71394
citytype|=|1
cityname|=|Zwijndrecht
statename|=|
countryname|=|Belgium
zipcode|=|
citycode|=|50991
citytype|=|1
cityname|=|Zakynthos
gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()
gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()
statename|=|? " odename
countryname|=|Greece
gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()
gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()
zipcode|=|@?! ename
citycode|=|63454
citytype|=|1
Ended
Original comment by uAle...@gmail.com
on 12 Aug 2012 at 6:39
Does it work better with the last revision ? (#5034)
Original comment by adrien.p...@gmail.com
on 12 Aug 2012 at 12:40
Hi Adrien,
r5034 doesn't compile on my system (got a fresh copy from SVN), i get the
following message during "make":
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char
-fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions
-fvisibility=default -std=c++0x -MT gb_xml_la-textnode.lo -MD -MP -MF
.deps/gb_xml_la-textnode.Tpo -c -o gb_xml_la-textnode.lo `test -f
'textnode.cpp' || echo './'`textnode.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os
-fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT
gb_xml_la-textnode.lo -MD -MP -MF .deps/gb_xml_la-textnode.Tpo -c textnode.cpp
-fPIC -DPIC -o .libs/gb_xml_la-textnode.o
mv -f .deps/gb_xml_la-textnode.Tpo .deps/gb_xml_la-textnode.Plo
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char
-fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer -fexceptions
-fvisibility=default -std=c++0x -MT gb_xml_la-element.lo -MD -MP -MF
.deps/gb_xml_la-element.Tpo -c -o gb_xml_la-element.lo `test -f 'element.cpp'
|| echo './'`element.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pipe -Wall -fno-exceptions
-Wno-unused-value -fsigned-char -fvisibility=hidden -g -ggdb -Os
-fno-omit-frame-pointer -fexceptions -fvisibility=default -std=c++0x -MT
gb_xml_la-element.lo -MD -MP -MF .deps/gb_xml_la-element.Tpo -c element.cpp
-fPIC -DPIC -o .libs/gb_xml_la-element.o
element.cpp: In constructor ‘Element::Element(const char*, size_t)’:
element.cpp:47: error: type ‘Element’ is not a direct base of ‘Element’
make[5]: *** [gb_xml_la-element.lo] Error 1
make[5]: Leaving directory `/usr/src/gambas3-r5034/gb.xml/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/gambas3-r5034/gb.xml/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gambas3-r5034/gb.xml'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/gambas3-r5034/gb.xml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gambas3-r5034'
make: *** [all] Error 2
Original comment by uAle...@gmail.com
on 12 Aug 2012 at 1:01
There is no error on my system. Does it work with revision #5035 ?
Original comment by adrien.p...@gmail.com
on 12 Aug 2012 at 3:27
Hi Adrien,
Thanks, it compiles successfully on my system now. Also the output looks great,
again thanks for fixing this all.
Regards,
Alex
Original comment by uAle...@gmail.com
on 12 Aug 2012 at 7:50
Is the issue fixed?
Original comment by benoit.m...@gmail.com
on 14 Aug 2012 at 9:00
Yes, r5036 gives the correct output. The issue can be closed.
Original comment by uAle...@gmail.com
on 14 Aug 2012 at 9:03
Original comment by adrien.p...@gmail.com
on 14 Aug 2012 at 9:27
Original issue reported on code.google.com by
uAle...@gmail.com
on 11 Aug 2012 at 7:05Attachments: