Skip to content

Commit f50da1d

Browse files
authored
Merge pull request #133 from ljo/master
Some outstanding documentation changes
2 parents 1f07ea0 + e4b2db9 commit f50da1d

File tree

9 files changed

+21
-16
lines changed

9 files changed

+21
-16
lines changed

data/ant-tasks.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
<varlistentry>
269269
<term>collection</term>
270270
<listitem>
271-
<para>The name of the subcollection which should be created.</para>
271+
<para>The name of the sub-collection which should be created.</para>
272272
</listitem>
273273
</varlistentry>
274274
<varlistentry>
@@ -591,7 +591,7 @@
591591
</listitem>
592592
</varlistentry>
593593
<varlistentry>
594-
<term>subcollections</term>
594+
<term>sub-collections</term>
595595
<listitem>
596596
<para>If "true" all sub-collections of the specified collection
597597
are extracted as well

data/atompub.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Location: http://example.org/edit/first-post.atom
251251
/atom/query/ and is run against the collection's feed document. This
252252
module is how both the Introspect and Topic modules are implemented. For
253253
example, if you want to generate a feed of all the feeds in all
254-
subcollections, the following query could be sent:</para>
254+
sub-collections, the following query could be sent:</para>
255255
<example>
256256
<title>A Feed Query</title>
257257
<programlisting>

data/devguide_log4j.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<productname>eXist-db – Open Source Native XML Database</productname>
55
<title>Developer's Guide - Log4J</title>
66
<subject>Log4J Logging Guide</subject>
7-
<date>November 2009</date>
7+
<date>October 2016</date>
88
<author>
99
<firstname>Loren</firstname>
1010
<surname>Cahlander</surname>
@@ -698,4 +698,4 @@ logger.info( someObj );
698698
intended setting) is small.</para>
699699
</section>
700700
</chapter>
701-
</book>
701+
</book>

data/devguide_xmlrpc.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@ sub process {
972972
<varlistentry>
973973
<term>inclusive</term>
974974
<listitem>
975-
<para>If set to <option>true</option>, the subcollections of the
975+
<para>If set to <option>true</option>, the sub-collections of the
976976
specified collection will be included into the
977977
result.</para>
978978
</listitem>
@@ -1019,7 +1019,7 @@ sub process {
10191019
<varlistentry>
10201020
<term>inclusive</term>
10211021
<listitem>
1022-
<para>If set to<option>true</option>, subcollections of the
1022+
<para>If set to<option>true</option>, sub-collections of the
10231023
specified collection will be included into the
10241024
result.</para>
10251025
</listitem>

data/indexing.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@
118118
define the default global <emphasis>index creation policy</emphasis>.</para>
119119
<para> To configure a given collection - e.g. <filename>/db/foo</filename> - create a
120120
file <filename>collection.xconf</filename> and store it as <filename>/db/system/config/db/foo/collection.xconf</filename>. Note the replication of
121-
the <filename>/db/foo</filename> hierarchy inside <filename>/db/system/config/</filename>. Subcollections which do not have a <filename>collection.xconf</filename> file of their own will be governed by the
121+
the <filename>/db/foo</filename> hierarchy inside <filename>/db/system/config/</filename>. Sub-collections which do not have a <filename>collection.xconf</filename> file of their own will be governed by the
122122
configuration policy specified for the closest ancestor collection which does have
123123
such a file, so you are not required to specify a configuration for every
124124
collection. Note, however, that configuration settings do not cascade. If you choose
125-
to deploy a <filename>collection.xconf</filename> file in a subcollection, you must
125+
to deploy a <filename>collection.xconf</filename> file in a sub-collection, you must
126126
specify in that file <emphasis>all</emphasis> the configuration options you wish to
127-
have applied to that subcollection (and any lower-level subcollections without
127+
have applied to that sub-collection (and any lower-level sub-collections without
128128
<filename>collection.xconf</filename> files of their own). </para>
129129
<note>
130130
<para>Due to backward compatibility concerns, the file does not have to be called

data/triggers.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
<para>To configure triggers for a given collection - for example:
165165
<filename>/db/foo</filename> - create a new collection configuration file and store it in the system collection (i.e.:
166166
<filename>/db/system/config/db/foo/collection.xconf</filename>). Note that
167-
since subcollections will inherit the configuration policy of their parent
167+
since sub-collections will inherit the configuration policy of their parent
168168
collections, you are not required to specify a configuration for every collection.</para>
169169
<section>
170170
<title>Configuration Structure and Syntax</title>

data/xacml-usage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
in the future, more indices might be defined in order to more efficiently restrict
3535
the possible policies applicable to a request. This information may be important if
3636
an administrator executes a query on the root or system collection that includes all
37-
subcollections. </para>
37+
sub-collections. </para>
3838
<para>By default, access control through XACML is disabled. To enable it, add
3939
<synopsis>&lt;xacml enable="yes"/&gt;</synopsis> to
4040
conf.xml. When XACML is enabled and no policies exist, it loads default policies.

data/xmldb.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ return
116116
<listitem>
117117
<para>The <command moreinfo="none">collection()</command> function specifies
118118
the collection of documents to be included in the query evaluation. By
119-
default, documents found in subcollections of the specified collection
120-
are also included. For example, suppose we have a collection <filename moreinfo="none">/db/test</filename> that includes two subcollections
119+
default, documents found in sub-collections of the specified collection
120+
are also included. For example, suppose we have a collection <filename moreinfo="none">/db/test</filename> that includes two sub-collections
121121
<filename moreinfo="none">/db/test/abc</filename> and <filename moreinfo="none">/db/test/def</filename>. In this case, the function
122122
call <command moreinfo="none">collection('/db/test')</command> will
123123
include all of the resources found in <filename moreinfo="none">/db/test</filename>, <filename moreinfo="none">/db/test/abc</filename> and <filename moreinfo="none">/db/test/def</filename>.</para>

data/xquery.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<bookinfo>
55
<productname>eXist-db – Open Source Native XML Database</productname>
66
<title>XQuery in eXist-db</title>
7-
<date>October 2012</date>
7+
<date>September 2017</date>
88
<orgname>The eXist-db Project</orgname>
99
</bookinfo>
1010
<chapter>
@@ -730,6 +730,11 @@ return $w</synopsis>
730730
"Bäuerin" &lt; "Bier"</synopsis>
731731
<para>Which returns <option>true</option>. Note that if you use the default codepoint
732732
collation instead, the comparison would evaluate to <option>false</option>.</para>
733+
<para>You can also use java class specified collators. They should be subclassing <option>java.text.RuleBasedCollator</option>. It will be used like this:</para>
734+
<synopsis language="xquery">for $w in ("das", "daß", "Buch", "Bücher", "Bauer", "Bäuerin", "Jagen", "Jäger")
735+
order by $w collation "java:f.c.d.n.MyRuleBasedGermanCollator"
736+
return $w</synopsis>
737+
<para>The jar with the .class file(s) of the collator needs to be in <filename>${EXIST_HOME}/lib/user</filename></para>
733738
<note>
734739
<para>eXist-db's range index is currently only usable with the default codepoint
735740
collation. This means that comparisons using a different collation will not be
@@ -1028,4 +1033,4 @@ declare option output:media-type "application/json";</synopsis>
10281033
testing/debugging.</para>
10291034
</section>
10301035
</chapter>
1031-
</book>
1036+
</book>

0 commit comments

Comments
 (0)