[Gambas-user] Issue 290 in gambas: gb.XML endless loop when CDATA loaded from file
gambas at ...2524...
gambas at ...2524...
Wed Jul 25 04:52:12 CEST 2012
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 290 by adamn... at ...626...: gb.XML endless loop when CDATA loaded
from file
http://code.google.com/p/gambas/issues/detail?id=290
1) Describe the problem.
When a CDATA node in an XMLDocument loaded from a file contains an "&"
XMLElement.TextContent goes into an endless loop.
2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
Version: TRUNK
Revision: r4985
Operating system: Linux
Distribution: PCLinuxOS
Architecture: x86
GUI component: QT4 / GTK+
Desktop used: LXDE
3) Provide a little project that reproduces the bug or the crash.
Attached
4) If your project needs a database, try to provide it, or part of it.
N/A
5) Explain clearly how to reproduce the bug or the crash.
Step through the code in the IDE
Note that the xml appears OK at lines 13 & 14 but
at line 22 the "&" is not shown by the ToString() debug output.
Line 24 shows the endless loop.
Attachments:
cdatart2-0.0.1.tar.gz 5.2 KB
More information about the User
mailing list