xref not working--weird symptoms

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Zanderxo
Propeller Head
Posts: 32
Joined: Mon Mar 09, 2015 5:28 pm

xref not working--weird symptoms

Post by Zanderxo »

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?
Zanderxo
Propeller Head
Posts: 32
Joined: Mon Mar 09, 2015 5:28 pm

Re: xref not working--weird symptoms

Post by Zanderxo »

The resolution: the target solution html file had an errant period character, which, when removed, resolved the issue.
FlareIssue.png
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

Post by Nita Beck »

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
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
magval
Jr. Propeller Head
Posts: 9
Joined: Fri Aug 26, 2016 2:41 am

Re: xref not working--weird symptoms

Post by magval »

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:....
magval
Jr. Propeller Head
Posts: 9
Joined: Fri Aug 26, 2016 2:41 am

Re: xref not working--weird symptoms

Post by magval »

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.
Post Reply