[Boost-bugs] [Boost C++ Libraries] #4416: Callouts generate duplicated ids in boostbook

Subject: [Boost-bugs] [Boost C++ Libraries] #4416: Callouts generate duplicated ids in boostbook
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-07-09 07:59:08


#4416: Callouts generate duplicated ids in boostbook
----------------------------------+-----------------------------------------
 Reporter: andysem | Owner: djowel
     Type: Bugs | Status: new
Milestone: Boost 1.44.0 | Component: quickbook
  Version: Boost Release Branch | Severity: Problem
 Keywords: callout |
----------------------------------+-----------------------------------------
 It seems that quickbook will duplicate reference ids in the imported code
 samples, if the code sample template is used more than once. The output
 contains the following errors:

 {{{
 quickbook.quickbook-to-boostbook bin.v2/libs/log/doc/gcc-4.4.1/release
 /link-static/log_doc.xml
 Generating Output File: bin.v2/libs/log/doc/gcc-4.4.1/release/link-
 static/log_doc.xml
 xslt-xsltproc bin.v2/libs/log/doc/gcc-4.4.1/release/link-
 static/log_doc.docbook
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1119:
 element co: validity error : ID log0co already defined
                   <!--quickbook-escape-prefix--><co id="log0co"
 linkends="log0"
 ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1120:
 element co: validity error : ID log1co already defined
                   <!--quickbook-escape-prefix--><co id="log1co"
 linkends="log1"
 ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1121:
 element co: validity error : ID log2co already defined
 cial">),</phrase> <!--quickbook-escape-prefix--><co id="log2co"
 linkends="log2"
 ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1122:
 element co: validity error : ID log3co already defined
                   <!--quickbook-escape-prefix--><co id="log3co"
 linkends="log3"
 ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1133:
 element callout: validity error : ID log0 already defined
           <calloutlist><callout arearefs="log0co" id="log0"><para> file
 name pat
                                                            ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1133:
 element callout: validity error : ID log1 already defined
 "><para> file name pattern </para></callout><callout arearefs="log1co"
 id="log1"
 ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1133:
 element callout: validity error : ID log2 already defined
 tate files every 10 MiB... </para></callout><callout arearefs="log2co"
 id="log2"
 ^
 bin.v2/libs/log/doc/gcc-4.4.1/release/link-static/log_doc.xml:1133:
 element callout: validity error : ID log3 already defined
 "><para> ...or at midnight </para></callout><callout arearefs="log3co"
 id="log3"
 ^
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4416>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:03 UTC