Skip to content

Commit 4635fc3

Browse files
committed
Add namespace declarations to the JavaDoc comments
The documentation for POSTing queries to the REST API says very little about how external variables should be bound. The comments in this file are helpful, but only if you know the namespace declarations!
1 parent f4628fd commit 4635fc3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

exist-core/src/main/java/org/exist/http/RESTServerParameter.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ enum RESTServerParameter {
6868
* The value of this parameter used in the body of POST requests
6969
* has the following format:
7070
*
71-
* <exist:query start? = number
71+
* <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist"
72+
* start? = number
7273
* max? = number
7374
* cache? = ("yes" | "no")
7475
* session? = string
@@ -119,7 +120,7 @@ enum RESTServerParameter {
119120
* exist:namespace?)
120121
* </exist:qname>
121122
*
122-
* <sx:sequence>
123+
* <sx:sequence xmlns:sx="http://exist-db.org/xquery/types/serialized">
123124
* (sx:value+)
124125
* </sx:sequence>
125126
*

0 commit comments

Comments
 (0)