diff options
author | William M. Brack <wbrack@src.gnome.org> | 2007-06-13 20:28:54 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2007-06-13 20:28:54 +0000 |
commit | e6e12e73ed023f17a4e0374f5e3143dc396a33e4 (patch) | |
tree | a6876f1e5e7fa1f8a0bf6588de66bb9ae1f7bc60 /tests/exslt | |
parent | 0ceabcf8b95560c186069a0df9135e4321360282 (diff) | |
download | libxslt-e6e12e73ed023f17a4e0374f5e3143dc396a33e4.tar.gz libxslt-e6e12e73ed023f17a4e0374f5e3143dc396a33e4.tar.bz2 libxslt-e6e12e73ed023f17a4e0374f5e3143dc396a33e4.zip |
added test case for bug #413451
* tests/exslt/common/node-set.9.[xml,xsl,out],
tests/exslt/common/Makefile.am: added test case for bug #413451
svn path=/trunk/; revision=1432
Diffstat (limited to 'tests/exslt')
-rw-r--r-- | tests/exslt/common/Makefile.am | 1 | ||||
-rw-r--r-- | tests/exslt/common/node-set.9.out | 33 | ||||
-rw-r--r-- | tests/exslt/common/node-set.9.xml | 42 | ||||
-rw-r--r-- | tests/exslt/common/node-set.9.xsl | 7 |
4 files changed, 83 insertions, 0 deletions
diff --git a/tests/exslt/common/Makefile.am b/tests/exslt/common/Makefile.am index 176ec77b..5b6dcf0f 100644 --- a/tests/exslt/common/Makefile.am +++ b/tests/exslt/common/Makefile.am @@ -12,6 +12,7 @@ EXTRA_DIST = \ node-set.6.xml node-set.6.xsl node-set.6.out \ node-set.7.xml node-set.7.xsl node-set.7.out \ node-set.8.xml node-set.8.xsl node-set.8.out \ + node-set.9.xml node-set.8.xsl node-set.9.out \ object-type.1.xml object-type.1.xsl object-type.1.out \ import-test1a.imp import-test1b.imp import-test1.out \ import-test1.xml import-test1.xsl diff --git a/tests/exslt/common/node-set.9.out b/tests/exslt/common/node-set.9.out new file mode 100644 index 00000000..01530e2e --- /dev/null +++ b/tests/exslt/common/node-set.9.out @@ -0,0 +1,33 @@ +<?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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title></title><meta name="generator" content="DocBook XSL Stylesheets V1.72.0" /></head><body><dt><a id="opt-memsize"></a><span class="term"><code class="option">-m</code> </span></dt><dd><p>Sets the amount of memory +tries to grab on startup. The amount may be given as +</p><div class="variablelist"><dl><dt><span class="term"><em class="replaceable"><code>nnnnnnn</code></em></span></dt><dd>measured in bytes +</dd><dt><span class="term"><em class="replaceable"><code>nnnn</code></em><span><strong class="command">K</strong></span>, </span><span class="term"><em class="replaceable"><code>nnnn</code></em><span><strong class="command">KB</strong></span></span></dt><dd>measured in kilobytes +</dd><dt><span class="term"><span><strong class="command">M</strong></span>, </span><span class="term"><span><strong class="command">MB</strong></span></span></dt><dd>measured in megabytes +</dd></dl></div><p> +The default is 3 megabytes. +<!-- #if (oint_addr_len+addr_shift==24) --> +The argument is constrained between 100 KB and 16 MB. +<!-- #elif (oint_addr_len+addr_shift==26) --> +The argument is constrained between 100 KB and 64 MB. +<!-- #elif (oint_addr_len+addr_shift==28) --> +The argument is constrained between 100 KB and 256 MB. +<!-- #else --> +The argument is constrained above 100 KB. +<!-- #endif --> +</p><p>This version of +<!-- #if defined(SPVW_MIXED) && defined(SPVW_BLOCKS) --> +<!-- #ifdef GENERATIONAL_GC --> +is not likely to actually use the entire since ion will +periodically reduce the amount of used memory. +It is therefore common to specify 10 MB even if only 2 MB are going +to be used. +<!-- #else --> +eventually uses the entire . +<!-- #endif --> +<!-- #else --> +allocates memory dynamically. is essentially ignored +(except that it determines the Lisp size). +<!-- #endif --> +</p></dd></body></html> diff --git a/tests/exslt/common/node-set.9.xml b/tests/exslt/common/node-set.9.xml new file mode 100644 index 00000000..a17807dc --- /dev/null +++ b/tests/exslt/common/node-set.9.xml @@ -0,0 +1,42 @@ +<varlistentry id="opt-memsize"><term><option>-m</option> </term> +<listitem><para>Sets the amount of memory +tries to grab on startup. The amount may be given as +<variablelist> +<varlistentry><term><replaceable>nnnnnnn</replaceable></term> +<listitem><simpara>measured in bytes +</simpara></listitem></varlistentry> +<varlistentry> +<term><replaceable>nnnn</replaceable><command>K</command></term> +<term><replaceable>nnnn</replaceable><command>KB</command></term> +<listitem><simpara>measured in kilobytes +</simpara></listitem></varlistentry> +<varlistentry> +<term><command>M</command></term> +<term><command>MB</command></term> +<listitem><simpara>measured in megabytes +</simpara></listitem></varlistentry></variablelist> +The default is 3 megabytes. +<!-- #if (oint_addr_len+addr_shift==24) --> +The argument is constrained between 100 KB and 16 MB. +<!-- #elif (oint_addr_len+addr_shift==26) --> +The argument is constrained between 100 KB and 64 MB. +<!-- #elif (oint_addr_len+addr_shift==28) --> +The argument is constrained between 100 KB and 256 MB. +<!-- #else --> +The argument is constrained above 100 KB. +<!-- #endif --> +</para><simpara>This version of +<!-- #if defined(SPVW_MIXED) && defined(SPVW_BLOCKS) --> +<!-- #ifdef GENERATIONAL_GC --> +is not likely to actually use the entire since ion will +periodically reduce the amount of used memory. +It is therefore common to specify 10 MB even if only 2 MB are going +to be used. +<!-- #else --> +eventually uses the entire . +<!-- #endif --> +<!-- #else --> +allocates memory dynamically. is essentially ignored +(except that it determines the Lisp size). +<!-- #endif --> +</simpara></listitem></varlistentry> diff --git a/tests/exslt/common/node-set.9.xsl b/tests/exslt/common/node-set.9.xsl new file mode 100644 index 00000000..0df6590d --- /dev/null +++ b/tests/exslt/common/node-set.9.xsl @@ -0,0 +1,7 @@ +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> +<xsl:import +href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> +<xsl:template match="comment()"> <!-- pass through comments --> + <xsl:comment><xsl:value-of select="."/></xsl:comment> +</xsl:template> +</xsl:stylesheet> |