[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: [FrameSGML] Text Inset Bug in FM+SGML 6.0 and 5.5



Dan, Adrie,
  There are some other problems with FM+SGML text insets to structured
flows with SGMLFragment as the highest-level element. In particular,
while FM+SGML correctly unwraps SGMLFragment if it has a single child,
it does not unwrap it if it has multiple children. Also, even when
there is a single child (at least when the imported flows are reference
pages in the destination document), FM+SGML can crash when updating
references.
  The alternatives are:

1) Continue to store the destination document as a FM+SGML document,
   but store the fragments as SGML fragments (that is, save the fragments
   files to SGML and use the SGML version rather than the FM+SGML
   version when you import), or;

2) Avoid using SGMLFragment and continue to use FM+SGML text insets. You
   can avoid SGMLFragment in one of several ways:

   a) Simply unwrap the current SGMLFragment elements even though that
      would result in highest-level elements that may not be valid in
      that context: the result can still be valid once the fragment is
      imported

   b) Modify the EDD to allow all elements that might appear as the
      highest-level element of a text inset to be valid at the highest
      level

   c) Define a new element (say TextInset) to be used as the highest-level
      element of text insets. Allow it anywhere in the destination document.

	--Lynne

>Even though the unwrapped children of SGMLFragment are valid at the text 
>inset insertion point, the importation of the text inset adds an empty 
>paragraph to the end of the text inset. The formatting of this empty 
>paragraph is the same as the formatting of the text paragraph that precedes 
>the text inset. For instance, suppose such a text insed is inserted 
>immediately after an autonumbered Title element. In this case, FM+SGML 
>produces:
>

Lynne A. Price
Text Structure Consulting, Inc.
lprice@txstruct.com
http://www.txstruct.com

** To unsubscribe, send a message to majordomo@omsys.com **
** with "unsubscribe framers" (no quotes) in the body.   **