On Mon, Jun 12, 2006 at 07:36:34PM +0200, Andreas L Delmelle wrote: > On Jun 12, 2006, at 15:29, Simon Pepping wrote: > > >There may be problems with the property lists of the Marker children, > >which are currently not cloned, but referred to in descPlists. The > >property lists of a subtree of a marker are special, because they must > >be kept alive for later retrieval. Other property lists are garbage > >collected after the properties have been bound to the LM and the > >subtree of the FO has been processed. > > Not all, unfortunately. See the comment in RetrieveMarker about using > StaticPropertyList (which stores a reference to its > parentPropertyList, which also happens to be a StaticPropertyList > etc. until the PropertyList for the fo:root) :/
Fortunately. That is the other side of the coin. The property lists in the ancestry of a retrieve-marker also need to be protected from garbage collection, in order to be able to resolve properties after retrieval of a marker. Simon -- Simon Pepping home page: http://www.leverkruid.eu
