[fpc-devel] Updates to FCL/XML stuff

Michael Van Canneyt michael at freepascal.org
Tue Jun 27 11:07:34 CEST 2006



On Mon, 26 Jun 2006, Sergei Gorelkin wrote:

> Hello,
>
> Attached are further improvements to XML handling classes. I am
> sending the whole files instead of patches, because patches are larger
> than the files :)
>
> During the time passed, I have got my hands on a test suite from w3.org
> and on a profiler. So the code now is much more "mature" than in the
> previous changes.
>
> The current status is:
>
> - xmlwrite.pp: Implemented built-in buffering with simultaneous UTF8
> encoding, which made it faster about 3 times.
> - dom.pp: Implemented a number of missing methods; wrote a skeleton for
> namespace support (not working yet); implemented timestamping for
> TDOMNodeList (so it is rebuilt only when underlying nodes are
> changed). The complete list of changes is in 'FIX:' and 'DONE:'
> comments in dom.pp itself.
> - xmlread.pp: Numerous fixes in order to improve performance and comply with the testsuite.

I already committed it. (revision 3973)

2 questions:
- Did you test this with 2.0.3 ? If so, I can merge it to fixes.
- I would be interested in the testsuite, so we can commit that to
   SVN too. The more test programs we have, the better it is.

Michael.



More information about the fpc-devel mailing list