Vincent Snijders wrote:
It is parsed in the xmlreader. The DOM simple contains one single
widechar, not these 8 chars. I suspect it is copied as is from the DOM
to the output file.
Correct. The character (numeric) entitity references are expanded upon
parsing and replaced by the corresponding WideChar. This corresponds to
the W3C XML specification and is not a bug.
The 5 predefined symbolic entities (< > & ' ") are
treated the same way and expanded immediately, too. Other symbolic
entities are not expanded by default (although this can be enabled by
setting Options.ExpandEntities to True).
Sergei
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel