[fpc-devel] Next patch for XML stuff
Vincent Snijders
vsnijders at quicknet.nl
Tue Oct 3 09:16:06 CEST 2006
Sergei Gorelkin schreef:
> Hello,
>
> Here is the next portion of my patches to XML stuff:
>
> dom.pp:
> - Removed unneeded TDOMNode.FNodeName/FNodeValue fields to reduce
> memory requirements;
> - finished TDOMElement.GetElementsByTagName;
> - Implemented TDOMNode.TextContent property;
> - Implemented attribute value normalization;
> - Fixed TDOMNode.Normalize and TDOMNode.InsertBefore for fragments.
>
> names.inc:
> - rewritten in cross-platform way, added XML 1.1 data;
>
> xmlwrite.pp:
> - Added support for Unicode characters with code > 65535;
> - Added writing TDOMDocumentType nodes;
> - Fixed handling of end-of-lines contained in node content;
> - Code cleaned up, so this unit is almost complete :)
>
> xmlread.pp:
> - At this moment, it contains only fixes needed for the whole stuff to compile.
>
> Actually I have almost developed a thing that can be called
> "non-validating parser" - capable of handling XML 1.1 and including
> external entities. I achieved 100% conformance with W3.org test
> suite. However, I feel that it's too early to release it because it
> does not fit into existing interface and has possibly undesired
> dependencies - but I'd better write a separate letter to discuss it.
As far as I can see, this patch has not yet been applied. I have it locally for a
month now, but didn't notice any problems. I did not specifically test it though.
Vincent
More information about the fpc-devel
mailing list