[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Query: bug in <citation>#PCDATA</citation>
Hi This looks like a bug somewhere - Docbook 4.4, Saxon 6.5.5, with Oxygen 7.2. #PCDATA is allowed in <citation> (Docbook 4 manual), but transformation to xhtml produces warning messages which suggest that the content of <citation> is assumed to be a <biblioref>. The XHTML output inserts [ and ] around the #PCDATA within <citation></citation> as it would do if this were a <biblioref>. Same for <citation> a child of <para> or <attribution>. The Warning messages produced are: Citation to nonexistent publication abbrev: 35-36 Citation to nonexistent publication abbrev: 13-16 FO transformation to PDF with XEP 4.6 interprets the <citation> correctly - no warning or error messages, and no [ and ] wrapped around the citation. Ron XML source: ----------- <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" > <sect1 id="ABC"><title>A title for ABC</title> <para>First para in ABC <citation>35-36</citation> more in first para in ABC, <blockquote> <attribution><citation>13-18</citation></attribution> <literallayout> some literallayout in a blockquote </literallayout> </blockquote> last of first para in ABC</para> <para>second para in ABC</para> </sect1> the xhtml produced is: ---------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><title>A title for ABC</title><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"/></head><body><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="ABC"/>A title for ABC</h2></div></div><hr/></div><p>First para in ABC [<span class="citation">35-36</span>] more in first para in ABC, 3-10 </p><div class="blockquote"><table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote"><tr><td width="10%" valign="top"> </td><td width="80%" valign="top"><div class="literallayout"><p><br/> some<br/> literallayout in a blockquote<br/> </p></div></td><td width="10%" valign="top"> </td></tr><tr><td width="10%" valign="top"> </td><td colspan="2" align="right" valign="top">--<span class="attribution">[<span class="citation">13-18</span>]</span></td></tr></table></div><p> last of first para in ABC</p><p>second para in ABC</p></div></body></html> and a browser produces: ----------------------- A title for ABC First para in ABC [35-36] more in first para in ABC, 3-10 some literallayout in a blockquote --[13-18] last of first para in ABC second para in ABC -- Ron Catterall, Phd, DSc email: ron@catterall.net Prolongacion de Hidalgo 140 http://catterall.net/ San Felipe del Agua tel: +52 951 520 1821 Oaxaca 68020 Mexico fax: +1 530 348 8309
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]