[Gambas-user] xmlreader Gambas 3.10.0 test project link included
Adrien Prokopowicz
adrien.prokopowicz at gmail.com
Sun May 13 15:51:03 CEST 2018
Le 09/04/2018 à 20:12, T Lee Davidson a écrit :
> Yes, when I added reader.Close(), the only file with which there was a problem was the one with comments.
>
> I think it's a bug. Even the test module in the source tree fails to properly read the test, text.xml, file when it encounters
> the comment.
>
> Test project attached.
Hey guys, first of all I apologize for the delay, I got a bit
overwhelmed with work and I am catching up on the mailing list right
now. :-)
This is indeed a bug, and is fixed in the latest commit (your attached
project seems to work with it).
As a (late) tip, I would also recommend you to try using the XmlDocument
class instead of XmlReader. Not only you'll win on performance, but it
is also much nicer to use (since using XmlReader makes you basically
wite a parser, while XmlDocument has everything loaded already).
Regards,
--
Adrien Prokopowicz
More information about the User
mailing list