From: Xiaoyi Ma <xm...@un...> - 2002-08-21 20:25:38
|
On Mon, Aug 05, 2002 at 02:32:03PM +0200, Matthias Thomae wrote: > Dear AG developers, > > I encountered a problem using the AG::SplitAnnotation function from Tcl. > When I try to reference the newly created anchor, e.g. by setting its > offset, I get an exception with a message: > > "<anchorId> is an invalid AnchorId" > > I think this problem originates from the AG::splitAnnotation method in > AG.cc, in that the anchor which is constructed is not added to the > identifiers. After adding > > addAnchor(n); > > to AG::splitAnnotation and recompiling, the problem disappears. > > I have a similar problem when unsetting anchor offsets using > AG::UnsetAnchorOffset, but no solution. Matthias, I couldn't replicate the problem you encounted when with AG::UnsetAnchorOffset. Do you have some sample code I can use to figure out what went wrong? Thanks. Xiaoyi > > Maybe one of the developers could check the sources with respect to the > Identifier management, in case more of these problems exist? > > Regards. > Matthias > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > agtk-devel mailing list > agt...@li... > https://lists.sourceforge.net/lists/listinfo/agtk-devel -- Regards, Xiaoyi -------------------------------- Linguistic Data Consortium University of Pennsylvania email: xm...@ld... phone: (215)573-5491 fax: (215)573-2175 |