Boost C++ Libraries: Ticket #1281: Quickbook produces invalid BoostBook/DocBook XML https://svn.boost.org/trac10/ticket/1281 <p> The current trunk version of Quickbook produces XML code that is invalid according to the referenced boostbook.dtd </p> <p> The following is a list of errors I found in the XML file generated from boost/tools/quickbook/doc/quickbook.qbk with a freshly compiled Quickbook. The line numbers refer to the first occurence of the respective problem. </p> <p> Line 2: DOCTYPE refers to starting tag &lt;library&gt; though Quickbook uses &lt;article&gt; </p> <p> Line 3: name and dirname and xmlns:xi are invalid attributes for &lt;article&gt; </p> <p> Line 21: &lt;articlepurpose&gt; is an invalid tag </p> <p> Line 30: &lt;para&gt; inside &lt;para&gt; in &lt;blockquote&gt; </p> <p> Line 72: text without enclosing &lt;para&gt; in &lt;listitem&gt; (though &lt;listitem&gt; inside &lt;varlistentry&gt; has &lt;para&gt;) </p> <p> Line 1590: "sect6" is invalid content for the &lt;bridgehead&gt; attribute renderas </p> <p> Line 1913: &lt;para&gt; inside &lt;para&gt; after template expansion </p> <p> Line 2545: no child element in empty &lt;calloutlist&gt; </p> <p> Line 2658: &lt;para&gt; inside &lt;para&gt; before &lt;programlisting&gt; </p> <p> Line 2661: &lt;co&gt; not allowed inside &lt;phrase&gt; </p> <p> Line 2667: &lt;para&gt; inside &lt;para&gt; before &lt;programlisting&gt; + &lt;calloutlist&gt; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1281 Trac 1.4.3 Stephan Tolksdorf <andorxor (at) gmx (dot) de> Mon, 24 Sep 2007 22:40:45 GMT <link>https://svn.boost.org/trac10/ticket/1281#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:1</guid> <description> <p> I forgot one: &lt;title&gt; must come before &lt;articleinfo&gt; in &lt;article&gt; </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Stephan Tolksdorf <andorxor (at) gmx (dot) de></dc:creator> <pubDate>Tue, 25 Sep 2007 11:01:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1281#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:2</guid> <description> <p> From line 21 on all line numbers are off by -3. Sorry. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sun, 06 Jun 2010 07:20:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1281#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62465" title="Fix the DOCTYPE generated by quickbook. Refs #1281">[62465]</a>) Fix the DOCTYPE generated by quickbook. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1281" title="#1281: Bugs: Quickbook produces invalid BoostBook/DocBook XML (closed: fixed)">#1281</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sun, 06 Jun 2010 07:21:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1281#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62466" title="Don't wrap &lt;co&gt; in a &lt;phrase&gt;. Refs #1281.">[62466]</a>) Don't wrap &lt;co&gt; in a &lt;phrase&gt;. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1281" title="#1281: Bugs: Quickbook produces invalid BoostBook/DocBook XML (closed: fixed)">#1281</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sun, 06 Jun 2010 07:21:40 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1281#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62467" title="Avoid double &lt;para&gt; in &lt;blockquote&gt;. Refs #1281.">[62467]</a>) Avoid double &lt;para&gt; in &lt;blockquote&gt;. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1281" title="#1281: Bugs: Quickbook produces invalid BoostBook/DocBook XML (closed: fixed)">#1281</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sun, 06 Jun 2010 07:22:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1281#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:6</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62469" title="Valid lists. Refs #1281">[62469]</a>) Valid lists. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1281" title="#1281: Bugs: Quickbook produces invalid BoostBook/DocBook XML (closed: fixed)">#1281</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sun, 06 Jun 2010 07:23:11 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1281#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:7</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62470" title="Deal with invalid docinfo details. Refs #1281. Warn when boostbook ...">[62470]</a>) Deal with invalid docinfo details. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1281" title="#1281: Bugs: Quickbook produces invalid BoostBook/DocBook XML (closed: fixed)">#1281</a>. </p> <p> Warn when boostbook attributes are used for docbook document types and don't output them. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Sun, 06 Jun 2010 07:29:49 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1281#comment:8 https://svn.boost.org/trac10/ticket/1281#comment:8 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Most of these are now fixed. I've created new tickets for the remaining issues: <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4302" title="#4302: Bugs: Templates are always expanded inside paragraphs (closed: fixed)">#4302</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4303" title="#4303: Bugs: Invalid list item markup (closed: fixed)">#4303</a>. </p> Ticket Daniel James Sun, 11 Jul 2010 23:15:21 GMT <link>https://svn.boost.org/trac10/ticket/1281#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1281#comment:9</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/63896" title="Restore the invalid doc info attributes. Removing them breaks the ...">[63896]</a>) Restore the invalid doc info attributes. </p> <p> Removing them breaks the release notes, there's still a warning that they're invalid. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1281" title="#1281: Bugs: Quickbook produces invalid BoostBook/DocBook XML (closed: fixed)">#1281</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>