Page 1 of 1

bug < or >

Posted: Wed Feb 01, 2006 20:14
by olgarry
Hello,

CELayoutEditor don't support characters '<' or '>' Value statement.

For example <Property Name="Text" Value="<<" /> doesn't work no CELayoutEditor.

It doesn't work only in CELayoutEditor.

Re: bug < or >

Posted: Thu Feb 02, 2006 08:43
by scriptkid
Hi,

good one. It's an encoding issue. But can CEGUI itself read it? (Don't have an sdk over here at work).

Thanks for reporting :-)

Re: bug

Posted: Thu Feb 02, 2006 20:25
by olgarry
CEGUI itself can read it. It's only CELayoutEditor which can't.

Posted: Tue Feb 14, 2006 21:53
by scriptkid
Hi Olgarry,

i've found some time to do some bug fixing. CEGUI itself can't load the file either. The call "WindowManager::getSingleton().loadWindowLayout" fails for any file which has non-encoded "<" and ">" characters in them.

To verify this, just modify the VanillaWindow.layout file a bit, and run the Sample_FalagardDemo1 exe.

Can you let me know if that does works for you? Thanks :-)

Posted: Sat Feb 25, 2006 13:58
by olgarry
i used CEGUI mk2 0.3.x and this bug didn't exist in it. But now i've just updated CEGUI to mk2 0.4.1 and effectively CEGUI itself can't load XML files where there is '<' or '>' in text values.

Posted: Sat Feb 25, 2006 15:28
by Dalfy
The 0.5 release will add a new way to express property and support multiline text as well as CDATA section in the XML.