Created attachment 867181 [details] Publican book with embedded tables The following XML does not compile in Publican 4. This has been copied directly from http://www.docbook.org/tdg/en/html/entrytbl.html. <informaltable frame='all'> <tgroup cols='3'> <tbody> <row> <entry>a1</entry> <entry>b1</entry> <entry>c1</entry> </row> <row> <entry>a2</entry> <entrytbl cols='3'> <tbody> <row> <entry>b2a1</entry> <entry>b2b1</entry> <entry>b2c1</entry> </row> <row> <entry>b2a2</entry> <entry>b2b2</entry> <entry>b2c2</entry> </row> <row> <entry>b2a3</entry> <entry>b2b3</entry> <entry>b2c3</entry> </row> </tbody> </entrytbl> <entry>c2</entry> </row> <row> <entry>a3</entry> <entry>b3</entry> <entry>c3</entry> </row> </tbody> </tgroup> </informaltable> The resulting error is: Attribute cols (3) does not match number of entry elements (XML::Element=HASH(0x4bfe558)) The attached file has a sample book with an embedded table that demonstrates the bug.
http://jfearn.fedorapeople.org/en-US/Publican/4.0/html/Users_Guide/appe-Publican-Users_Guide-Disallowed_elements_and_attributes.html entrytbl used to cause FOP to explode, unless that has been resolved in FOP we can't support both FOP and entrytbl.
Added entrytbl to cols count. Fixed error message so it prints the number of cols found instead of the hash ref. To ssh://git.fedorahosted.org/git/publican.git 80357fa..4335d0c devel -> devel
A fix for this shipped in Publican 4.1.0.