Talk:Networking

From Free Pascal wiki
Revision as of 11:02, 11 February 2007 by Lepidosteus (talk | contribs) (Location of this xml tutorial)
Jump to navigationJump to search

Just a quick glance at the article: it accesses ChildNodes a lot, but it doesn't free it anywhere. The code will cause memory leaks. If someone has time, this should be fixed --- accessed ChildNodes should be saved into a variable, and at the end freed by ChildNodes.Release. This is documented by short comment

 // Free NodeList with TDOMNodeList.Release!
 function GetChildNodes: TDOMNodeList;

in the dom.pp sources. The memory leak (and the fact that calling .Release when needed helps) can be easily seen by heaptrc. Michalis 00:37, 28 November 2006 (CET)

Location of this xml tutorial

I don't think an xml tutorial should be located at /Networking, what about moving it to /Xml ? Lepidosteus