Re: [docbook-apps] ANNOUNCE: DocBook XSL and XSL-NS 1.75.0 released
Keith Fahlgren wrote, on 08.05.2009 22:40: Please let me know if tonight's snapshot fixes this issue (or replace your epub/bin/lib/docbook.rb with https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/epub/bin/lib/docbook.rb). I now have a regression that captures this issue (I think). With the above version I still get the same (non-fatal) error messages of dbtoepub. In detail: This is my test-file (test-entity.xml): ?xml version='1.0' encoding='ISO-8859-1'? !DOCTYPE article PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd; article section titleTitle/title paracopy;/para /section /article This the used commandline: /home/mw/docbook-xsl/epub/bin/dbtoepub -v -d test-entity.xml Output: Rendering DocBook file test-entity.xml to test-entity.epub test-entity.xml:8: parser error : Entity 'copy' not defined paracopy;/para ^ ./.collapsed.test-entity.xml:6: parser error : Entity 'copy' not defined paracopy;/para ^ java -jar /home/mw/work/epubcheck/epubcheck-1.0.4.jar test-entity.epub Epubcheck Version 1.0.4 No errors or warnings detected Let me know if I can provide more information. Michael - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] ANNOUNCE: DocBook XSL and XSL-NS 1.75.0 released
Keith Fahlgren wrote, on 07.05.2009 05:55: Version 1.75.0 of the DocBook XSL XSL-NS Stylesheets, for processing DocBook 4 and namespaced (DocBook 5) documents, is now available: I notice a different behaviour of epub/bin/db2epub (release 1.75.0 against 1.74.3 resp. snapshot of 04-13): The new version complains like: db-templ.xml:31: parser error : Entity 'copy' not defined holdercopy; Michael Wiedmann/holder about not declared entities, whereas earlier versions processed the same file w/o such error (at least IIRC). But: If I look into the generated XHTML files in OEBPS/* I find a correct © character at this place! Processing the same file with xsltproc and an unmodified/original docbook-xsl-1.75.0/html/docbook.xsl (or html/chunk.xsl) results in an HTML w/o any errors. Michael - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
Re: [docbook-apps] ANNOUNCE: DocBook XSL and XSL-NS 1.75.0 released
On Fri, May 8, 2009 at 11:31 AM, Michael Wiedmann m...@miwie.in-berlin.de wrote: Keith Fahlgren wrote, on 07.05.2009 05:55: Version 1.75.0 of the DocBook XSL XSL-NS Stylesheets, for processing DocBook 4 and namespaced (DocBook 5) documents, is now available: I notice a different behaviour of epub/bin/db2epub (release 1.75.0 against 1.74.3 resp. snapshot of 04-13): The new version complains like: db-templ.xml:31: parser error : Entity 'copy' not defined holdercopy; Michael Wiedmann/holder about not declared entities, whereas earlier versions processed the same file w/o such error (at least IIRC). Bummer thanks for testing and the report. I changed some of the dbtoepub architecture to try to fix this bug related to XIncludes and named entities: https://sourceforge.net/tracker/?func=detailaid=2750442group_id=21935atid=373747 I'm becoming increasingly unhappy with the quality of dbtoepub itself as an end-user tool, although it's critical for the current testing framework. Specifically, Ruby doesn't include mature XML libraries in its standard library, so I'm forced to call out to xmllint. In this case, I'm running up against my inability to collapse XIncludes, collapse entities, and validate. I either need to choose --postvalid (breaks entities) or --valid (breaks XIncludes). I suppose I could do two steps, but... In the meantime, you can always get rid of entities before handing off documents to dbtoepub (--noent). I'll work on a fix now. Keith - To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
[docbook-apps] ANNOUNCE: DocBook XSL and XSL-NS 1.75.0 released
Version 1.75.0 of the DocBook XSL XSL-NS Stylesheets, for processing DocBook 4 and namespaced (DocBook 5) documents, is now available: http://docbook.sf.net/files/xsl/latest The release notes are included below, and also available online. The reference docs are available as a separate package, and online. http://docbook.sf.net/files/xsl-doc/latest Release Notes: 1.75.0 The following is a list of changes that have been made since the 1.74.3 release. Gentext The following changes have been made to the gentext code since the 1.74.3 release. ● Robert Stayton: locale/sv.xml; locale/ja.xml; locale/pl.xml Check in translations of Legalnotice submitted on mailing list. ● Robert Stayton: locale/es.xml Fix spelling errors in Acknowledgements entries. ● Robert Stayton: locale/es.xml Check in translations for 4 elements submitted through docbook-apps message of 14 April 2009. ● David Cramer: locale/zh.xml; locale/ca.xml; locale/ru.xml; locale/ga.xml; locale/gl.xml; l⋯ Internationalized punctuation in glosssee and glossseealso ● Robert Stayton: Makefile Check in fixes for DSSSL gentext targets from submitted patch #1689633. ● Robert Stayton: locale/uk.xml Check in major update submitted with bug report #2008524. ● Robert Stayton: locale/zh_tw.xml Check in fix to Note string submitted in bug #2441051. ● Robert Stayton: locale/ru.xml Checkin typo fix submitted in bug #2453406. Common The following changes have been made to the common code since the 1.74.3 release. ● Robert Stayton: gentext.xsl Fix extra generated space when xrefstyle includes 'nopage'. ● Robert Stayton: table.xsl Add support for some format properties on tables using HTML table markup. These include: - frame attribute on table (or uses $default.table.frame parameter). - rules attribute on table (or uses $default.table.rules parameter). - align attribute on td and th - valign attribute on td and th - colspan on td and th - rowspan on td and th - bgcolor on td and th ● Robert Stayton: olink.xsl Add placeholder template to massage olink hot text to make customization easier, per Feature Request 1828608. ● Robert Stayton: targets.xsl Add support for collecting olink targets from a glossary generated from a glossary.collection. ● Robert Stayton: titles.xsl Handle firstterm like glossterm in mode=title.markup. ● Robert Stayton: titles.xsl Add match on info/title in title.markup templates where missing. ● Mauritz Jeanson: titles.xsl Changed ancestor::title to (ancestor::title and (@id or @xml:id)). This enables proper formatting of inline elements in titles in TOCs, as long as these inlines don't have id or xml:id attributes. ● Robert Stayton: labels.xsl Add two new qanda.defaultlabel values so that numbered sections and numbered questions can be distinguished. Satisfies Feature Request #1539045. ● Robert Stayton: stripns.xsl; pi.xsl Convert function-available(exsl:node-set) to use the new param so Xalan bug is isolated. ● Mauritz Jeanson: titles.xsl Added fixes for bugs #2112656 and #1759205: 1. Reverted mistaken commits r7485 and r7523. 2. Updated the template with match=link and mode=no.anchor.mode so that @endterm is used if it exists and if the link has no content. ● Mauritz Jeanson: titles.xsl Added code to handle acknowledgements in book and part. The element is processed similarly to dedication. All acknowledgements will appear as front matter, after any dedications. ● Robert Stayton: olink.xsl Fix bug #2018717 use.local.olink.style uses wrong gentext context. ● Robert Stayton: olink.xsl Fix bug #1787167 incorrect hot text for some olinks. ● Robert Stayton: common.xsl Fix bug #1669654 Broken output if copyright year contains a range. ● Robert Stayton: labels.xsl Fix bug in labelling figure inside appendix inside article inside book. FO The following changes have been made to the fo code since the 1.74.3 release. ● Jirka Kosek: highlight.xsl Inclusion of highlighting code was simplified. Only one import is now necessary. ● Robert Stayton: fop1.xsl Add the new fop extensions namespace declaration, in case FOP extension functions are used. ● Robert Stayton: formal.xsl Add support for pgwide on informal objects. ● Robert Stayton: docbook.xsl Fixed spurious closing quote on line 134. ● Robert Stayton: docbook.xsl; autoidx-kosek.xsl; autoidx.xsl Convert function-available for node-set() to use new $exsl.node.set.available param in test. ● David Cramer: xref.xsl Backed out previous change. Bob had already fixed it the right way in gentext.xsl. ● David Cramer: xref.xsl Suppress extra space after xref when xrefstyle='select: label nopage' (#2740472) ● Mauritz Jeanson: pi.xsl Fixed doc bug