From 7a62da41973c3f7f56b68d3288124b5a6511019f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 7 Dec 2010 20:44:23 +0000 Subject: [PATCH] Implement lang attribute in quickbook/boostbook. [SVN r67090] --- test/more/tests/book/boostbook.gold | 2 +- test/more/tests/book/boostbook.xml | 3 ++- test/more/tests/book/chapter.gold | 4 ++++ test/more/tests/book/chapter.xml | 10 ++++++++++ test/more/tests/book/library-autoid.gold | 4 ++++ test/more/tests/book/library-autoid.xml | 8 ++++++++ test/more/tests/book/library.gold | 4 ++++ test/more/tests/book/library.xml | 9 +++++++++ xsl/docbook.xsl | 21 ++++++++++----------- 9 files changed, 52 insertions(+), 13 deletions(-) create mode 100644 test/more/tests/book/chapter.gold create mode 100644 test/more/tests/book/chapter.xml create mode 100644 test/more/tests/book/library-autoid.gold create mode 100644 test/more/tests/book/library-autoid.xml create mode 100644 test/more/tests/book/library.gold create mode 100644 test/more/tests/book/library.xml diff --git a/test/more/tests/book/boostbook.gold b/test/more/tests/book/boostbook.gold index ec0007b..6f07643 100644 --- a/test/more/tests/book/boostbook.gold +++ b/test/more/tests/book/boostbook.gold @@ -1,4 +1,4 @@ - + Test 'boostbook' root. \ No newline at end of file diff --git a/test/more/tests/book/boostbook.xml b/test/more/tests/book/boostbook.xml index 37c4ba8..dc49c0a 100644 --- a/test/more/tests/book/boostbook.xml +++ b/test/more/tests/book/boostbook.xml @@ -2,7 +2,8 @@ + last-revision="$Date: 2010-10-30 15:29:27 +0100 (Sat, 30 Oct 2010) $" + lang="en"> Test 'boostbook' root. diff --git a/test/more/tests/book/chapter.gold b/test/more/tests/book/chapter.gold new file mode 100644 index 0000000..a57055b --- /dev/null +++ b/test/more/tests/book/chapter.gold @@ -0,0 +1,4 @@ + + + Test 'boostbook' root. + \ No newline at end of file diff --git a/test/more/tests/book/chapter.xml b/test/more/tests/book/chapter.xml new file mode 100644 index 0000000..2372e8d --- /dev/null +++ b/test/more/tests/book/chapter.xml @@ -0,0 +1,10 @@ + + + + Test 'boostbook' root. + + + diff --git a/test/more/tests/book/library-autoid.gold b/test/more/tests/book/library-autoid.gold new file mode 100644 index 0000000..4a20eb2 --- /dev/null +++ b/test/more/tests/book/library-autoid.gold @@ -0,0 +1,4 @@ + + + Test 'boostbook' root. + \ No newline at end of file diff --git a/test/more/tests/book/library-autoid.xml b/test/more/tests/book/library-autoid.xml new file mode 100644 index 0000000..bcf50a4 --- /dev/null +++ b/test/more/tests/book/library-autoid.xml @@ -0,0 +1,8 @@ + + + + Test 'boostbook' root. + + + diff --git a/test/more/tests/book/library.gold b/test/more/tests/book/library.gold new file mode 100644 index 0000000..5fb2b49 --- /dev/null +++ b/test/more/tests/book/library.gold @@ -0,0 +1,4 @@ + + + Test 'boostbook' root. + \ No newline at end of file diff --git a/test/more/tests/book/library.xml b/test/more/tests/book/library.xml new file mode 100644 index 0000000..f431ebf --- /dev/null +++ b/test/more/tests/book/library.xml @@ -0,0 +1,9 @@ + + + + Test 'boostbook' root. + + + diff --git a/xsl/docbook.xsl b/xsl/docbook.xsl index fb67e6d..063622f 100644 --- a/xsl/docbook.xsl +++ b/xsl/docbook.xsl @@ -399,16 +399,12 @@ Error: XSL template 'link-or-anchor' called with invalid link-type ' - - - - - - - - - - + + + + + + - + + + +