[Gambas-devel] [Gambas-devel-svn] SF.net SVN: gambas:[7637] gambas/trunk/gb.xml/src/textnode.cpp

Adrien Prokopowicz adrien.prokopowicz at ...176...
Wed Mar 16 02:00:16 CET 2016


Le Tue, 15 Mar 2016 18:45:24 +0100, Tobias Boege <taboege at ...176...> a  
écrit:

> On Tue, 15 Mar 2016, tobiasboe at ...1... wrote:
>> Revision: 7637
>>           http://sourceforge.net/p/gambas/code/7637
>> Author:   tobiasboe
>> Date:     2016-03-15 17:16:58 +0000 (Tue, 15 Mar 2016)
>> Log Message:
>> -----------
>> [GB.XML]
>> * BUG: Fix copy & paste error (?) which creates CDATA nodes as comment  
>> nodes.
>>
>> Modified Paths:
>> --------------
>>     gambas/trunk/gb.xml/src/textnode.cpp
>>
>
> Adrien, if you are here, could you check on this fix? I found this bug by
> a CDATA node which obviously contained data in my XML file but returned  
> an
> empty TextContent and was later serialised to a <!--...--> comment. Alas,
> I'm not so familiar with the XML theory to justify the change.
>
> Regards,
> Tobi
>

The fix looks good to me, it was indeed a copy & paste error.

Right now I'm looking to get the gb.xml components covered by unit tests,
these errors are starting to be really annoying ...

Anyway, thanks for the fix. :-)

Regards,

-- 
Adrien Prokopowicz




More information about the Devel mailing list