[Lazarus] lazde problem with '<' character

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Oct 3 02:14:44 CEST 2011


On Sun, 02 Oct 2011 20:57:20 +0100
Howard Page-Clark <hdpc at talktalk.net> wrote:

> 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

I fixed the system.xml

 
> and in the offending line:
>   <element name="operator <=(variant, variant): Boolean">
> it is clear that the 'less-than' operator is causing the problem.
> 
> Presumably lazde was not used to create this file?

Maybe an old version of lazde or fpdoc editor was used.


> Is there some way to escape characters such as this which have a special 
> meaning to an XML file parser?
> If not, should I report this as a bug?


Mattias




More information about the Lazarus mailing list