We create PDF outputs that have practice topics, with associated solution topics in an appendix. We use MadCap:xref to create mutual links between these topics.
All has been fine until now, when we have a weird issue with one set of mutual xrefs: in the Insert Cross-Reference dialog, when I select one particular solution html topic as the link target, the XRef Format (Preview below) shows the correct xref template ("For the solution to this practice, see "{paratext}" on page {page}."), and the preview shows it correctly filled-in, but with an unexpected appendage: the entire contents of the target html topic, from its xref tag (also correctly filled-in) to the end of the document. This appendage also appears in the PDF output. For the life of me, I cannot see that this practice/solution html pair is any different, tag wise, from any of the other pairs that behave correctly.
Anyone else encounter this. Clues?
xref not working--weird symptoms
Re: xref not working--weird symptoms
The resolution: the target solution html file had an errant period character, which, when removed, resolved the issue.
You do not have the required permissions to view the files attached to this post.
-
Nita Beck
- Senior Propellus Maximus
- Posts: 3672
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: xref not working--weird symptoms
Thank you for posting your solution to your own problem, instead of deleting the whole post. This info will help a fellow Flare-head someday.

Nita

RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: xref not working--weird symptoms
I had the same problem in Flare2017.
It was also a problem in the target of the Cross-reference :
a SnippetBlock was not in a paragraph.
Before :
<p class="img"><img src="../Resources/Images/Control_Cabinet/MainOperatingPanel.jpg" /></p>
<MadCap:snippetBlock src="../Resources/Snippets/Following Table.flsnp" />
<table style="width: 100%;mc-table-style: url('../Resources/TableStyles/La...
After :
<p class="img">
<img src="../Resources/Images/Control_Cabinet/PowerControlPanel.png" /></p>
<p><MadCap:snippetBlock src="../Resources/Snippets/Following Table.flsnp" /></p>
<table style="width: 100%;mc-table-style:....
It was also a problem in the target of the Cross-reference :
a SnippetBlock was not in a paragraph.
Before :
<p class="img"><img src="../Resources/Images/Control_Cabinet/MainOperatingPanel.jpg" /></p>
<MadCap:snippetBlock src="../Resources/Snippets/Following Table.flsnp" />
<table style="width: 100%;mc-table-style: url('../Resources/TableStyles/La...
After :
<p class="img">
<img src="../Resources/Images/Control_Cabinet/PowerControlPanel.png" /></p>
<p><MadCap:snippetBlock src="../Resources/Snippets/Following Table.flsnp" /></p>
<table style="width: 100%;mc-table-style:....
Re: xref not working--weird symptoms
After contacting the Help desk, my problem was caused by using a condition tag inside the header (like <h1>bla <condition1>blah</condition1><condition2>blas</condition2></h1>).
a bug report was opened on the problem.
a bug report was opened on the problem.