[fpc-devel] Next patch for XML stuff

Michael Van Canneyt michael at freepascal.org
Tue Oct 3 09:27:41 CEST 2006



On Tue, 3 Oct 2006, Vincent Snijders wrote:

> 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,

You can apply the patch; At the time when it was sent, my PC was broken.
That's why it was not applied.

Michael.



More information about the fpc-devel mailing list