Skip to content

Commit 3ef55ca

Browse files
ndwadamretter
authored andcommitted
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 a33e34e commit 3ef55ca

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
@@ -66,7 +66,8 @@ enum RESTServerParameter {
6666
* The value of this parameter used in the body of POST requests
6767
* has the following format:
6868
*
69-
* <exist:query start? = number
69+
* <exist:query xmlns:exist="http://exist.sourceforge.net/NS/exist"
70+
* start? = number
7071
* max? = number
7172
* cache? = ("yes" | "no")
7273
* session? = string
@@ -117,7 +118,7 @@ enum RESTServerParameter {
117118
* exist:namespace?)
118119
* </exist:qname>
119120
*
120-
* <sx:sequence>
121+
* <sx:sequence xmlns:sx="http://exist-db.org/xquery/types/serialized">
121122
* (sx:value+)
122123
* </sx:sequence>
123124
*

0 commit comments

Comments
 (0)