OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] multiple "IDs" for constraint linkend


Strange indeed.  I know of no circumstances where both the included content 
and the fallback are part of the output, as they are meant to be mutually 
exclusive.

Can you run an xmllint --xinclude on impnotes.xml and save the results to a 
file?  That should show if there are two instances of that id present.

That message comes from a template named 'check.id.unique', which is called 
by most elements that do linking.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Monday, March 16, 2009 11:04 AM
Subject: [docbook-apps] multiple "IDs" for constraint linkend


>I get these warnings:
>
> $ xsltproc --timing --xinclude --stringparam target.database.document
> "olink-chunk.xml" --stringparam current.docid "impnotes" -o test/
> docbook-xsl/xhtml/chunk.xsl impnotes.xml
> XInclude processing impnotes.xml took 629 ms
> Warning: multiple "IDs" for constraint linkend: fdl.
> Warning: multiple "IDs" for constraint linkend: gpl.
>
> I have this in impnotes.xml:
>
> <xi:include href="http://www.gnu.org/licenses/fdl-1.3.dbk";
>            xmlns:xi="http://www.w3.org/2001/XInclude";>
> <xi:fallback><appendix id="fdl"><title>GNU Free Documentation 
> License</title>
>   <para>internet connection to the &fsf; is broken</para></appendix>
> </xi:fallback></xi:include>
> <xi:include href="http://www.gnu.org/licenses/gpl-2.0.dbk";
>            xmlns:xi="http://www.w3.org/2001/XInclude";>
> <xi:fallback><appendix id="gpl"><title>GNU General Public License</title>
>   <para>internet connection to the &fsf; is broken</para></appendix>
> </xi:fallback></xi:include>
>
> these <xi:fallback> elements are the only places with id="fdl" and "gpl".
> of course, http://www.gnu.org/licenses/gpl-2.0.dbk has the id="gpl" too
> and http://www.gnu.org/licenses/fdl-1.3.dbk has an id="fdl".
>
> why am I getting the warnings?
> what am I doing wrong?
> thanks.
>
> -- 
> Sam Steingold <http://sds.podval.org>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]