Skip to content

Commit 24019d4

Browse files
joewizduncdrum
authored andcommitted
Normalize intra-app links, esp fundocs
and miscellaneous catches
1 parent 4e823e7 commit 24019d4

File tree

12 files changed

+48
-33
lines changed

12 files changed

+48
-33
lines changed

src/main/xar-resources/data/author-reference/author-reference.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ but does not because its too simple)</programlisting>
589589
<para>A <tag>tag</tag> element surrounds its content with &lt; and &gt; and
590590
formats it like code. Meant to make life easier:
591591
<code><![CDATA[<tag>xxx</tag>]]></code> is the shorter version of
592-
<code><![CDATA[<code>&lt;xxx&gt;</code>]]></code>.</para>
592+
<code><![CDATA[<code><xxx></code>]]></code>.</para>
593593
</listitem>
594594
</varlistentry>
595595

@@ -649,7 +649,7 @@ but does not because its too simple)</programlisting>
649649
use the <tag>link</tag> element. However, use the target's document name
650650
(without the <code>.xml</code> extension) as the link address. For
651651
instance,
652-
<code><![CDATA[&amp;lt;link xlink:href="documentation"&amp;gt;]]></code>
652+
<tag>link xlink:href="documentation"</tag>
653653
links to the <link xlink:href="documentation">documentation home
654654
page</link>.</para>
655655
</listitem>

src/main/xar-resources/data/beginners-guide-to-xrx-v4/beginners-guide-to-xrx-v4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<para>This example will use the following terms and concepts:</para>
102102
<para> <emphasis role="bold">XRX</emphasis> is the name of the web application
103103
architecture that we are introducing in this guide. The term XRX comes from the
104-
combination of XForms, REST, and XQuery. The term was <link xlink:href="http://archive.oreilly.com/pub/post/xrx_a_simple_elegant_disruptiv_1.html">coined</link> by Dan McCreary. XForms are used in the client (web browser), REST is
104+
combination of XForms, REST, and XQuery. The term was <link xlink:href="https://web.archive.org/web/20171224124316/http://archive.oreilly.com/pub/post/xrx_a_simple_elegant_disruptiv_1.html">coined</link> by Dan McCreary. XForms are used in the client (web browser), REST is
105105
the interface between the client and the server, and XQuery is the server language.
106106
Two of the most significant advantages of XRX over other architectures are: (1) it
107107
does not require users to translate data into Java or .Net objects, and (2) it does

src/main/xar-resources/data/devguide_indexes/devguide_indexes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@
12601260
operates in the <literal>http://exist-db.org/xquery/spatial</literal> namespace
12611261
(whose default prefix is <literal>spatial</literal>).</para>
12621262
<para>The functions signatures are documented together with the functions themselves in
1263-
<link xlink:href="https://demo.exist-db.org/xquery/functions.xq">this page</link>.
1263+
<link xlink:href="{${fundocs.pkg.abbrev}}">the XQuery function documentation</link>.
12641264
Here we will only look at their <literal>eval()</literal> methods.</para>
12651265
<para>The first functions set we will describe is
12661266
<literal>org.exist.xquery.modules.spatial.FunSpatialSearch</literal>, which performs

src/main/xar-resources/data/extensions/extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<para>eXist-db will require a restart to load any new modules added. </para>
4343
</note>
4444
<para>Once a Module is configured and loaded eXist-db will display the module and its
45-
function definitions as part of the <link xlink:href="{fundocs}">function library</link>
45+
function definitions as part of the <link xlink:href="{${fundocs.pkg.abbrev}}">function library</link>
4646
page or through <literal>util:decribe-function()</literal>.</para>
4747
</sect1>
4848

src/main/xar-resources/data/getting-help/getting-help.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@
3434
primary forum for asking questions and getting help. Finding the answer to a question can sometimes be as simple as <link xlink:href="https://exist-open.markmail.org/" condition="_blank">searching the mailing list's archives</link>. Whether you have a
3535
question that you can't find the answer to, or you just want to join the discussion, <link xlink:href="https://lists.sourceforge.net/lists/listinfo/exist-open" condition="_blank">subscribe to the mailing list</link>. It's free and
3636
you can unsubscribe anytime.</para>
37+
<para>You can also search the <link xlink:href="https://stackoverflow.com/questions/tagged/exist-db" condition="_blank">exist-db tag on Stackoverflow</link> for questions and answers.</para>
3738
<note>
3839
<para>For reporting issues, please consult the <link xlink:href="getting-help-how-to-report">How to Report Issues</link> article.</para>
3940
</note>
4041
<para>Besides exist-open, there is a mailing list dedicated solely to the XQuery language: the <link xlink:href="http://x-query.com/mailman/listinfo/talk">xquery-talk mailing list</link>. It's a great place to ask questions about XQuery, from
4142
basic to advanced.</para>
42-
<para>Also, there are numerous excellent resources for learning XQuery, including the <link xlink:href="http://en.wikibooks.org/wiki/XQuery" condition="_blank">XQuery wikibook</link> and Priscilla Walmsley's <link xlink:href="http://shop.oreilly.com/product/9780596006341.do" condition="_blank">XQuery book</link>.</para>
43+
<para>See our list of resources for <link xlink:href="learning-xquery">learning XQuery</link>.</para>
4344
<para>Follow <link xlink:href="https://twitter.com/#!/existdb" condition="_blank">@existdb</link> on Twitter for news and announcements about
4445
eXist-db. Use the <link xlink:href="https://twitter.com/#!/search?q=%23existdb" condition="_blank">#existdb</link> hash tag (note: no dash in
4546
#existdb). </para>

src/main/xar-resources/data/incompatibilities/incompatibilities.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
old syntax for map constructors though (<code>map { x:= "y"}</code> instead of
124124
<code>map { x: "y" }</code> in XQuery 3.1), so old code should run without
125125
modifications. All map module functions from XQuery 3.1 are <link
126-
xlink:href="{fundocs}/view.html?uri=http://www.w3.org/2005/xpath-functions/map&amp;location=java:org.exist.xquery.functions.map.MapModule"
126+
xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://www.w3.org/2005/xpath-functions/map"
127127
>available</link>.</para>
128128
</listitem>
129129
<listitem>

src/main/xar-resources/data/learning-xquery/learning-xquery.xml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@
2525
<para>XQuery is unique in the development stack: It replaces both SQL and the traditional
2626
software layers that convert SQL into presentation formats such as HTML, PDF and ePub.
2727
XQuery can both retrieve information from your database and format it for presentation. </para>
28-
<para>Learning how to select basic data from an XML document can be learned in just a few
28+
<para>Learning how to select basic data from an XML document can be accomplished in just a few
2929
hours, especially if you are already familiar with SQL and other functional programming
30-
languages. Learning how to create custom XQuery functions, how to design XQuery modules
30+
languages. Learning how to create custom XQuery functions, how to design XQuery modules,
3131
and how to execute unit tests on XQuery takes considerably longer.</para>
3232

3333
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
34-
34+
3535
<sect2 xml:id="learning-example">
3636
<title>Learning by Example</title>
3737

3838
<para>Many people find that they learn a new language best by reading and trying small
39-
examples of code. One of the ideal locations for this is the <link condition="_blank" xlink:href="http://en.wikibooks.org/wiki/XQuery#Beginning_Examples">XQuery Wikibook
39+
examples of code. One of the ideal locations for this is the <link condition="_blank" xlink:href="https://en.wikibooks.org/wiki/XQuery#Beginning_Examples">XQuery Wikibook
4040
Beginning Examples</link>. These examples are all designed and tested to work with
4141
eXist. Please let us know if there are specific examples you would like to
4242
see.</para>
@@ -56,12 +56,12 @@
5656
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
5757

5858
<sect2 xml:id="learning-flowr">
59-
<title>Learning FLOWR statements</title>
59+
<title>Learning FLWOR statements</title>
6060

61-
<para>Iteration in XQuery uses parallel programming statements called FLOWR (For, Let,
62-
Order by, Where, Return). Each loop of a FLOWR statement is performed in a separate
61+
<para>Iteration in XQuery uses parallel programming statements called FLWOR (For, Let,
62+
Where, Order by, Return). Each loop of a FLWOR statement is performed in a separate
6363
thread of execution. As a result you cannot use the output of any computation in a
64-
FLOWR loop as input for the next iteration. This concept can be difficult to learn
64+
FLWOR loop as input for the next iteration. This concept can be difficult to learn
6565
if you have never used parallel programming systems.</para>
6666
</sect2>
6767

@@ -133,6 +133,21 @@
133133
in a drop-down list. As you continue to type or select a function the parameters and
134134
types are also shown. This becomes an important time-saver!</para>
135135
</sect2>
136+
137+
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
138+
139+
<sect2 xml:id="other-resources">
140+
<title>Other Resources</title>
141+
142+
<para>See Priscilla Walmsley's book, <link
143+
xlink:href="http://shop.oreilly.com/product/0636920035589.do" condition="_blank"
144+
>XQuery</link> on the XQuery language, Adam Retter and Erik Siegel's book, <link
145+
xlink:href="http://shop.oreilly.com/product/0636920026525.do"
146+
condition="_blank">eXist: a NoSQL Document Database and Application
147+
Platform</link>, on XQuery application development, and the <link
148+
xlink:href="https://github.com/joewiz/learn-xquery" condition="_blank">Learning
149+
XQuery</link> list.</para>
150+
</sect2>
136151

137152
</sect1>
138153

src/main/xar-resources/data/scheduler/scheduler.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</para>
4646
</note>
4747
<para>There is an XQuery library module, <link condition="_blank"
48-
xlink:href="https://www.exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/scheduler&amp;location=java:org.exist.xquery.modules.scheduler.SchedulerModule&amp;details=true"
48+
xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/scheduler"
4949
>Scheduler Module</link>, which provides functions for scheduling jobs and
5050
managing jobs scheduled for execution. The scheduler XQuery library module
5151
is activated by uncommenting the following in eXist-db's

src/main/xar-resources/data/security/security.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
models.</para>
2222
<para>As well as the mechanisms described in this article, you should also note the presence of
2323
the <link
24-
xlink:href="http://www.exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/securitymanager&amp;location=java:org.exist.xquery.functions.securitymanager.SecurityManagerModule&amp;details=true"
24+
xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/securitymanager"
2525
>Security Manager XQuery library module</link>, which enables you to perform many user and
2626
security related tasks programmatically from XQuery.</para>
2727

@@ -87,7 +87,7 @@
8787
<listitem>
8888
<para>Change the password programmatically, for instance from within eXide, by using
8989
the <code>sm:passwd()</code> function of the <link
90-
xlink:href="http://www.exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/securitymanager&amp;location=java:org.exist.xquery.functions.securitymanager.SecurityManagerModule&amp;details=true"
90+
xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/securitymanager"
9191
>Security Manager XQuery library module</link>.</para>
9292
</listitem>
9393
</itemizedlist>
@@ -137,7 +137,7 @@
137137
<listitem>
138138
<para>Create a user programmatically, for instance from within eXide, by using the
139139
<code>sm:create-account()</code> function of the <link
140-
xlink:href="http://www.exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/securitymanager&amp;location=java:org.exist.xquery.functions.securitymanager.SecurityManagerModule&amp;details=true"
140+
xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/securitymanager"
141141
>Security Manager XQuery library module</link>.</para>
142142
</listitem>
143143
</itemizedlist>
@@ -300,7 +300,7 @@
300300
<listitem>
301301
<para>Do it programmatically, for instance from within eXide, by using the
302302
one of the functions of the <link
303-
xlink:href="http://www.exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/securitymanager&amp;location=java:org.exist.xquery.functions.securitymanager.SecurityManagerModule&amp;details=true"
303+
xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/securitymanager"
304304
>Security Manager XQuery library module</link>.</para>
305305
</listitem>
306306
</itemizedlist>

src/main/xar-resources/data/xmldb/xmldb.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
55
<info>
66
<title>The xmldb module</title>
7-
<date>1Q18</date>
7+
<date>2Q19</date>
88
<keywordset>
99
<keyword>application-development</keyword>
1010
</keywordset>
@@ -14,7 +14,7 @@
1414

1515
<para>The xmldb module (<literal>http://exist-db.org/xquery/xmldb</literal> function namespace)
1616
contains functions for manipulating database contents. The full list of functions and their
17-
documentation can be found in the <link xlink:href="/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/xmldb&amp;location=java:org.exist.xquery.functions.xmldb.XMLDBModule">Function Documentation Library</link>. This article handles some of the highlights and main
17+
documentation can be found in the <link xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/xmldb">Function Documentation Library</link>. This article handles some of the highlights and main
1818
uses for this module.</para>
1919

2020
<!-- ================================================================== -->

0 commit comments

Comments
 (0)