I am migrating a structured Frame application from FrameMaker 8 to FrameMaker 2019. Several months ago I did a trial migration to Frame 2017 and the open-edit-save roundtrip for a single document worked fine. Now I am doing the job for real with Frame 2019 (times move on).
Unfortunately when I attempt to open my sample XML document for editing the pre-processor stylesheet generates an error. This ran without problems in Frame 2017 (and of course the stylesheet runs perfectly outside of Frame).
The pre-processor stylesheet is XSL 1.0 so could run in any XSL processor; the post-processor stylesheet is XSL 2.0 so requires Saxon. Hence in my structured apps document definitions I have included
Template: $STRUCTDIR\xml\helpcenter\app\template.fm
Read/write rules: $STRUCTDIR\xml\helpcenter\app\rules
XSLT Preferences:
Preprocessing:
Stylesheet: $STRUCTDIR\xml\helpcenter\app\hcxml2fm.xsl
Postprocessing:
XSLT Processor: SAXON
Stylesheet: $STRUCTDIR\xml\helpcenter\app\hcfm2xml.xsl
The error I am getting on document open is this:
XSL Processor Messages (Processor: SAXON)
Error reported by XML parser processing file:/C:/Program%20Files/Adobe/Adobe%20FrameMaker%202019/structure/xml/helpcenter/app/hcs trip.xsl:
FWK005 parse may not be called while parsing.
net.sf.saxon.s9api.SaxonApiException: Error reported by XML parser processing file:/C:/Program%20Files/Adobe/Adobe%20FrameMaker%202019/structure/xml/helpcenter/app/hcs trip.xsl:
FWK005 parse may not be called while parsing.
Transformation Aborted.
The hcstrip.xsl stylesheet is included by the hcxml2fm.xsl stylesheet and there's nothing unusual about it. As I say, this identical setup worked in FrameMaker 2017.
Just for completeness, hcstrip.xsl contains this:
<?xmlversion="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:strip-space elements="included document section content
table th tb tf tr
list ol li inlist"
/>
</xsl:stylesheet>
Anyone got any ideas why this isn't loading in FM2019?
Cheers
T