[Lazarus] lazde problem with '<' character

Hans-Peter Diettrich DrDiettrich1 at aol.com
Mon Oct 3 00:59:15 CEST 2011


Alex Shishkin schrieb:
> 02.10.2011 23:57, Howard Page-Clark пишет:
>> If you attempt to open the lazarus\docs\xml\rtl\system.xml in lazde it 
>> chokes on line 9705 pos 31 with an exception:
>> character '<' not allowed in attribute value
>>
>> and in the offending line:
>> <element name="operator <=(variant, variant): Boolean">
>> it is clear that the 'less-than' operator is causing the problem.

> may be related to http://bugs.freepascal.org/view.php?id=15120

I just added a note to that one: XML defines escapes for such special 
characters, similar to HTML syntax. IMO such escapes should be handled 
in the XML classes, in both reading and writing XML files.

DoDi





More information about the Lazarus mailing list