[fpc-devel] MakeSkel problem with operators?

Sven Barth pascaldragon at googlemail.com
Mon Feb 20 14:11:56 CET 2012


Am 20.02.2012 14:00, schrieb michael.vancanneyt at wisa.be:
>
>
> On Mon, 20 Feb 2012, Hans-Peter Diettrich wrote:
>
>> In an attempt to check the yet undocumented FCL units for use with
>> FPDoc and MakeSkel, I got an error in the created skeleton for gmp:
>> <element name="operator <(MPFloat, MPFloat): Boolean">
>>
>> The "<" and ">" chars in operator names should be escaped in the XML
>> files.
>
> Last time this was remarked on, there was discussion whether < and >
> need to
> be escaped inside attribute values. I never got around to checking the XML
> specs.

If I understand this correctly: 
http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue

Then "&", "<" and """ need to be escaped inside attribute values.

Regards,
Sven




More information about the fpc-devel mailing list