Skip to content

Commit 80dae83

Browse files
committed
Status 20180227
1 parent a6d3614 commit 80dae83

File tree

19 files changed

+1943
-2091
lines changed

19 files changed

+1943
-2091
lines changed

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

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@
6767
have <link xlink:href="http://exist-db.org">eXist</link>
6868
running on your local system. By default eXist runs on
6969
port <code>8080</code> so that when you set your web
70-
browser to <link
71-
xlink:href="http://localhost:8080/exist/"
72-
>http://localhost:8080/exist/</link> you should see
70+
browser to <link xlink:href="http://localhost:8080/exist/">http://localhost:8080/exist/</link> you should see
7371
the eXist homepage come up.</para>
7472
<para>You can also run this tutorial on a remote eXist server. If you
7573
are doing this, you must replace the server name
@@ -120,9 +118,7 @@
120118
<emphasis role="bold">XRX</emphasis> is the name of the web
121119
application architecture that we are introducing in this guide.
122120
The term XRX comes from the combination of XForms, REST, and
123-
XQuery. The term was <link
124-
xlink:href="http://archive.oreilly.com/pub/post/xrx_a_simple_elegant_disruptiv_1.html"
125-
>coined</link> by Dan McCreary. XForms are used in the
121+
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
126122
client (web browser), REST is the interface between the client
127123
and the server, and XQuery is the server language. Two of the
128124
most significant advantages of XRX over other architectures are:
@@ -174,9 +170,7 @@
174170
SOAP interface testing tools are required. All you need to test
175171
your web services is a web browser. For example, the home page
176172
of the test application under the default configuration will be
177-
<link
178-
xlink:href="http://localhost:8080/exist/apps/term/index.html"
179-
>http://localhost:8080/exist/apps/term/index.html</link>.</para>
173+
<link xlink:href="http://localhost:8080/exist/apps/term/index.html">http://localhost:8080/exist/apps/term/index.html</link>.</para>
180174
<para>Several additional terms and concepts are helpful in understanding the XRX approach:</para>
181175
<para>
182176
<emphasis role="bold">WebDAV</emphasis> is a protocol for transferring files, and we use eXist's WebDAV interface to move files to and from
@@ -210,8 +204,7 @@
210204
<listitem>
211205
<para>
212206
<emphasis role="bold">Apps</emphasis>: XRX applications
213-
should be stored within the <emphasis role="bold"
214-
>/db/apps</emphasis> parent collection. </para>
207+
should be stored within the <emphasis role="bold">/db/apps</emphasis> parent collection. </para>
215208
</listitem>
216209
<listitem>
217210
<para>
@@ -277,9 +270,7 @@
277270
has created a specification for application metadata, called
278271
EXPath Packaging System. eXist supports and extends this
279272
module. This tutorial will not cover this file's structure,
280-
but you can learn more about this by reading <link
281-
xlink:href="https://exist-db.org/exist/apps/doc/repo.xml"
282-
/>. </para>
273+
but you can learn more about this by reading <link xlink:href="https://exist-db.org/exist/apps/doc/repo.xml"/>. </para>
283274
</listitem>
284275
</orderedlist>
285276
<para>You are always free to change the names of the collection or the
@@ -446,9 +437,7 @@
446437
publish-status-code. (By using the repo.xml Deployment
447438
Descriptor's "prepare" field, you can automate the installation
448439
of this collection.xconf file into the target location; see
449-
<link
450-
xlink:href="https://exist-db.org/exist/apps/doc/repo.xml#D1.4.10"
451-
/>.)</para>
440+
<link xlink:href="https://exist-db.org/exist/apps/doc/repo.xml#D1.4.10"/>.)</para>
452441
</sect2>
453442

454443
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
@@ -648,9 +637,7 @@
648637
The last control is the <tag>xf:select1</tag> control that
649638
allows the user to select one value from a list of values. (For
650639
a complete discussion of the XForms controls we suggest you use
651-
the XForms Wikibook at <link
652-
xlink:href="http://en.wikibooks.org/wiki/XForms"
653-
>http://en.wikibooks.org/wiki/XForms</link>. The Input Form
640+
the XForms Wikibook at <link xlink:href="http://en.wikibooks.org/wiki/XForms">http://en.wikibooks.org/wiki/XForms</link>. The Input Form
654641
Controls section goes through each of the controls in the XForms
655642
specification. In addition to the standard controls there are
656643
other controls that can also be integrated directly into XForms,
@@ -778,9 +765,7 @@
778765
reduce duplication and then reference these functions in
779766
each of your queries. For example, you could put the HTML
780767
boilerplate into a style module. You could also explore
781-
eXist's HTML templating module; see <link
782-
xlink:href="https://exist-db.org/exist/apps/doc/templating.xml"
783-
/>.</para>
768+
eXist's HTML templating module; see <link xlink:href="https://exist-db.org/exist/apps/doc/templating.xml"/>.</para>
784769
</listitem>
785770
<listitem>
786771
<para>Change the <code>list-items.xq</code> to use HTML tables to view each item.</para>
@@ -832,9 +817,7 @@
832817
<listitem>
833818
<para>Modify the collection configuration file for the
834819
<code>/db/apps/terms/data</code> collection to enable
835-
versioning when items are updated. See <link
836-
xlink:href="https://exist-db.org/exist/apps/doc/versioning.xml"
837-
/>.</para>
820+
versioning when items are updated. See <link xlink:href="https://exist-db.org/exist/apps/doc/versioning.xml"/>.</para>
838821
</listitem>
839822
</orderedlist>
840823
</sect1>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<term>
2-
<id></id>
3-
<term-name></term-name>
4-
<definition></definition>
5-
<publish-status-code></publish-status-code>
2+
<id/>
3+
<term-name/>
4+
<definition/>
5+
<publish-status-code/>
66
</term>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<h2>Search Terms</h2>
77
<form method="GET" action="search.xq">
88
<label for="q">Search:</label>
9-
<input type="text" value="" id="q" name="q" size="30" />
10-
<input type="submit" value="Search" />
9+
<input type="text" value="" id="q" name="q" size="30"/>
10+
<input type="submit" value="Search"/>
1111
</form>
1212
</body>
1313
</html>

src/main/xar-resources/data/db4-versions/documentation-db4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,4 +464,4 @@
464464
</section>
465465
</section>
466466
</chapter>
467-
</book>
467+
</book>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,4 +310,4 @@
310310
<command>Namespace:</command>  http://xmlcalabash.com </para>
311311
</section>
312312
</chapter>
313-
</book>
313+
</book>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,4 @@ dbutil:scan-collections(xs:anyURI("/db"), function($collection) {
192192
</section>
193193
</section>
194194
</chapter>
195-
</book>
195+
</book>

src/main/xar-resources/data/db4-versions/validation-db4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,4 +482,4 @@
482482
</para>
483483
</section>
484484
</chapter>
485-
</book>
485+
</book>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,4 @@
326326
<programlisting>http://localhost:8080/exist/rest/db?_release=0</programlisting>
327327
</sect1>
328328

329-
</article>
329+
</article>

0 commit comments

Comments
 (0)