Hi All,

I think I found a bug in XMLWrite unit. It doesn't convert '<' and '>' characters in attributes to '&lt;' and '&gt;'.
I haven't read the XML specs, but the browsers (Opera, Mozilla and M$IE) complain when parsing such file.
This is the output of M$IE:



The character '<' cannot be used in an attribute value. Error processing resource 'file:///info.xml'. Line 3, Position 31



<value name="Single" start="<single>" end="</single>" multiple="No"/> ------------------------------^


I use FPC 1.0.10 under Win32.


Cheers,
Milos



_______________________________________________
fpc-devel maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to