Red Hat Bugzilla – Bug 726575
Cannot <xref> between books in a <set>
Last modified: 2011-08-24 22:05:07 EDT
Description of problem:
<xi:include>s work fine between books in a set but <xref>s don't. Just doing the <xref> normally, like this:
Publican just can't see it, the same as normal when there's no corresponding section in your book.
If you specify the direct path, like when <xi:include>ing, like this:
You get validation errors, AND the usual I Can't See It error.
I've also tried specifying the chapter.xml as well, and the path without escaping two dirs.
Version-Release number of selected component (if applicable):
Create two books in a standalone set and try to <xref> to a section in the other book.
Steps to Reproduce:
Errors described above.
<xref> are valid between books.
At a guess I think you are hitting the forced run of clean_ids that publican does to avoid id clashes when building sets.
To confirm, try running:
$ grep -r 'id-that-you-want' tmp/en-US/xml/*
If that's it then you could try running clean_ids before you build to see if that works.
Can you supply the repo location for this set? It'll make testing easier.
Hey Jeff, the source is here: https://svn.devel.redhat.com/repos/ecs/JBoss_Web_Framework_Kit/trunk/2.0/RichFaces_Developer_Guide/ I discovered that <xi:include>s won't work either, not sure why I thought they did. I don't know if this is related.
I did try running publican clean for the <xref> stuff but it took a few hours so I kept having to give up.
Turns out, if you follow the instructions in the Publican UG properly ... stuff works ;) I fixed the format of the set so that it wasn't books inside the set, and that has fixed both the <xi:include> and <xref> issues. Thanks for your time, Jeff.