GraphicStyle marker in a text frame causes TopicAlias marker not to be recognized

Issue

ePublisher Pro does not recognize the TopicAlias marker coming after the GraphicStyles marker in the text frame. The topic is given chapter name plus numbering as the file name. If I delete the textframe the TopicAlias marker works. If i move the topic with the TopicaAlias marker in front of the the topic with the text frame the TopicAlias marker works. If I remove the text frame with the GraphicStyle marker everything works fine. The TopicAlias marker is converted to a filename.

Resolution

Related to a defect fixed for 2008.4:

EPUB88 ePublisher Platform: Filename markers not processed in all cases

The issue was related to the use of a valid XPath expression that works great 1/2 the time. The fix was to change the expression in:

Formats/Shared/common/splits/nameinfo.xsl

at line 231 from:

<!-- Select page markers -->
<!-- -->
<xsl:variable name="VarPageMarkers" select="$VarContent/wwdoc:Marker
| $VarContent//wwdoc:Marker[not(ancestor::wwdoc:Frame)]" />

to:

<!-- Select page markers -->
<!-- -->
<xsl:variable name="VarPageMarkers" select="$VarContent/wwdoc:Marker
| $VarContent//wwdoc:Marker[count(ancestor::wwdoc:Frame[1]) = 0]" />

Either override that file, or upgrade to 2008.4 to resolve the issue.

Permalinks/Solutions/ePublisher/2008.3/GraphicStyleMarkerInTextFrame (last edited 2009-04-02 20:01:29 by LaurenLever)