Bug: Dumping GUI sheet to file causes parse errors.

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Quite a regular
Quite a regular
Posts: 80
Joined: Fri Apr 29, 2005 21:58

Bug: Dumping GUI sheet to file causes parse errors.

Postby granx » Fri Apr 21, 2006 19:52

I don't know if this has been spotted already, and I wasn't sure how to search for it on the forums. I did a quick glance at mantis and saw nothing that looked similar, so I am posting here.

In version 0.4.1 (not in revision control):
When you dump a GUI sheet to a file, the "Text" property will possibly dump out the "<" character. This happens for me when I load a layout file with navigation buttons "<" (for reverse) and ">" (for forward). I have a WindowsLook/Button (using Falagard, windowslook skin), and I assign its "Text" property to be "&lt;". This parses and displays fine, but if I modify the layout in my application (it's an editor ;) ), then dump out the GUI sheet to file, the Button will have a Text property value of "<" and not "&lt;", which is malformed XML, and causes parsers to cry and give up.

If this bug has not been addressed already in revision control, what do you think the right solution would be?

Thanks, -granx

Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 5 guests