[fpc-devel]A bug in XMLWrite

Milos Pejovic pejovic at drenik.net
Sun Jan 18 16:45:49 CET 2004

Hi All,

I think I found a bug in XMLWrite unit. It doesn't convert '<' and '>' 
characters in attributes to '<' and '>'.
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.


More information about the fpc-devel mailing list