🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #749

Re: Problem with F_ApiAddText() after F_ApiPaste()

#749
From: Stanislav_Kurik
Date: Wed, 06 Aug 2008 06:33
5 lines
1271 bytes
Now I discovered something. I checked the return value of F_ApiAddText() and FA_errno after the call and I found out that F_ApiAddText() returns F_TextLoc with { objId = 0, offset = 0 }, so invalid text location. FA_errno has the value FE_BadObjId.

So I investigated further and before the F_ApiAddText() call I traverse all paragraphs in the document and the paragraph to which I pasted the cross-reference is suddenly not there! Or to say it precisely, there is no paragraph with m_paragraphId anymore in the list of document's paragraphs.

How is that possible?
Technical Details
Message-ID: <59b60d9f.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eweka.nl!lightspeed.eweka.nl!tudelft.nl!binfeed2.tudelft.nl!transit5.hitnews.eu!news4us.nl!webcrossing
References: <59b60d9f.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,7ddfef38ebf755b2
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Stanislav_Kurik@adobeforums.com
Newsgroups: adobe.framemaker.sgml
Subject: Re: Problem with F_ApiAddText() after F_ApiPaste()
Message-ID: <59b60d9f.0@webcrossing.la2eafNXanI>
Date: Tue, 5 Aug 2008 23:33:48 -0700
References: <59b60d9f.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!eweka.nl!lightspeed.eweka.nl!tudelft.nl!binfeed2.tudelft.nl!transit5.hitnews.eu!news4us.nl!webcrossing