Skip to content
This repository was archived by the owner on Jun 29, 2020. It is now read-only.

Commit 0c9a87f

Browse files
authored
Merge pull request #44 from xquery/develop
update copyright date
2 parents 9d4dc3b + 0f51d44 commit 0c9a87f

File tree

7 files changed

+32
-32
lines changed

7 files changed

+32
-32
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ The RESTXQ spec is still in draft form; where things are currently unclear or in
160160

161161
RXQ is released under Apache License v2.0
162162

163-
Copyright 2012-2014 Jim Fuller
163+
Copyright 2012-2017 Jim Fuller
164164

165165
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
166166

lib/rxq.xqy

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xquery version "1.0-ml";
22
(:
33
: rxq.xqy
44
:
5-
: Copyright (c) 2012-2014 James Fuller - [email protected] . All Rights Reserved.
5+
: Copyright (c) 2012-2017 James Fuller - [email protected] . All Rights Reserved.
66
:
77
: Licensed under the Apache License, Version 2.0 (the "License");
88
: you may not use this file except in compliance with the License.
@@ -73,7 +73,7 @@ declare variable $rxq:use-custom-serializer := xdmp:get-request-field(
7373

7474
declare variable $rxq:gzip-content :=
7575
xdmp:get-request-field("xdmp-gzip", "false");
76-
76+
7777
declare variable $rxq:filters-sequence as function(*)* := (: add filters here :)
7878
(
7979
rxq:serialize#1[$rxq:use-custom-serializer eq "true"],
@@ -89,7 +89,7 @@ declare option xdmp:update "true";
8989
:
9090
: @param $cache
9191
:
92-
: @return
92+
: @return
9393
:)
9494
declare function rxq:process-request(
9595
$enable-cache as xs:boolean
@@ -124,7 +124,7 @@ declare option xdmp:update "true";
124124
:)
125125
declare function rxq:process-request(){
126126
rxq:process-request(false())
127-
};
127+
};
128128

129129
(:~ rxq:rewrite-options - generate <rest:request/> based on restxq annotations
130130
:
@@ -270,23 +270,23 @@ declare %private function rxq:serialize(
270270
<xsl:copy-of select="." validation="preserve" />
271271
</xsl:template>
272272
</xsl:stylesheet>,
273-
$output, (),
273+
$output, (),
274274
<options xmlns="xdmp:eval">
275275
<isolation>same-statement</isolation>
276276
</options>
277277
)
278278
};
279279

280-
(:~ rxq:gzip - custom gzip
280+
(:~ rxq:gzip - custom gzip
281281
:
282282
: @output the output of the user's target function
283-
: @returns gzip output
283+
: @returns gzip output
284284
:)
285285
declare %private function rxq:gzip(
286286
$output
287287
) as item()*
288288
{
289-
xdmp:add-response-header("Content-encoding", "gzip"),
289+
xdmp:add-response-header("Content-encoding", "gzip"),
290290
xdmp:gzip($output)
291291
};
292292

@@ -455,4 +455,4 @@ declare function rxq:handle-error(
455455
{
456456
xdmp:set-response-code(500, $e/error:format-string),
457457
rest:report-error($e)
458-
};
458+
};

rxq-rewriter.xqy

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xquery version "1.0-ml";
22
(:
33
: rxq-rewriter.xqy
44
:
5-
: Copyright (c) 2012-2014 James Fuller. All Rights Reserved.
5+
: Copyright (c) 2012-2017 James Fuller. All Rights Reserved.
66
:
77
: Licensed under the Apache License, Version 2.0 (the "License");
88
: you may not use this file except in compliance with the License.
@@ -41,4 +41,4 @@ declare option xdmp:mapping "false";
4141

4242
declare variable $ENABLE-CACHE as xs:boolean := fn:false();
4343

44-
rxq:process-request($ENABLE-CACHE)
44+
rxq:process-request($ENABLE-CACHE)

src/example-dashml/lib/rxq.xqy

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xquery version "1.0-ml";
22
(:
33
: rxq.xqy
44
:
5-
: Copyright (c) 2012-2014 James Fuller - [email protected] . All Rights Reserved.
5+
: Copyright (c) 2012-2017 James Fuller - [email protected] . All Rights Reserved.
66
:
77
: Licensed under the Apache License, Version 2.0 (the "License");
88
: you may not use this file except in compliance with the License.
@@ -73,7 +73,7 @@ declare variable $rxq:use-custom-serializer := xdmp:get-request-field(
7373

7474
declare variable $rxq:gzip-content :=
7575
xdmp:get-request-field("xdmp-gzip", "false");
76-
76+
7777
declare variable $rxq:filters-sequence as function(*)* := (: add filters here :)
7878
(
7979
rxq:serialize#1[$rxq:use-custom-serializer eq "true"],
@@ -89,7 +89,7 @@ declare option xdmp:update "true";
8989
:
9090
: @param $cache
9191
:
92-
: @return
92+
: @return
9393
:)
9494
declare function rxq:process-request(
9595
$enable-cache as xs:boolean
@@ -124,7 +124,7 @@ declare option xdmp:update "true";
124124
:)
125125
declare function rxq:process-request(){
126126
rxq:process-request(false())
127-
};
127+
};
128128

129129
(:~ rxq:rewrite-options - generate <rest:request/> based on restxq annotations
130130
:
@@ -270,23 +270,23 @@ declare %private function rxq:serialize(
270270
<xsl:copy-of select="." validation="preserve" />
271271
</xsl:template>
272272
</xsl:stylesheet>,
273-
$output, (),
273+
$output, (),
274274
<options xmlns="xdmp:eval">
275275
<isolation>same-statement</isolation>
276276
</options>
277277
)
278278
};
279279

280-
(:~ rxq:gzip - custom gzip
280+
(:~ rxq:gzip - custom gzip
281281
:
282282
: @output the output of the user's target function
283-
: @returns gzip output
283+
: @returns gzip output
284284
:)
285285
declare %private function rxq:gzip(
286286
$output
287287
) as item()*
288288
{
289-
xdmp:add-response-header("Content-encoding", "gzip"),
289+
xdmp:add-response-header("Content-encoding", "gzip"),
290290
xdmp:gzip($output)
291291
};
292292

@@ -455,4 +455,4 @@ declare function rxq:handle-error(
455455
{
456456
xdmp:set-response-code(500, $e/error:format-string),
457457
rest:report-error($e)
458-
};
458+
};

src/example-dashml/rxq-rewriter.xqy

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xquery version "1.0-ml";
22
(:
33
: rxq-rewriter.xqy
44
:
5-
: Copyright (c) 2012-2014 James Fuller. All Rights Reserved.
5+
: Copyright (c) 2012-2017 James Fuller. All Rights Reserved.
66
:
77
: Licensed under the Apache License, Version 2.0 (the "License");
88
: you may not use this file except in compliance with the License.

src/example-simple/lib/rxq.xqy

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xquery version "1.0-ml";
22
(:
33
: rxq.xqy
44
:
5-
: Copyright (c) 2012-2014 James Fuller - [email protected] . All Rights Reserved.
5+
: Copyright (c) 2012-2017 James Fuller - [email protected] . All Rights Reserved.
66
:
77
: Licensed under the Apache License, Version 2.0 (the "License");
88
: you may not use this file except in compliance with the License.
@@ -73,7 +73,7 @@ declare variable $rxq:use-custom-serializer := xdmp:get-request-field(
7373

7474
declare variable $rxq:gzip-content :=
7575
xdmp:get-request-field("xdmp-gzip", "false");
76-
76+
7777
declare variable $rxq:filters-sequence as function(*)* := (: add filters here :)
7878
(
7979
rxq:serialize#1[$rxq:use-custom-serializer eq "true"],
@@ -89,7 +89,7 @@ declare option xdmp:update "true";
8989
:
9090
: @param $cache
9191
:
92-
: @return
92+
: @return
9393
:)
9494
declare function rxq:process-request(
9595
$enable-cache as xs:boolean
@@ -124,7 +124,7 @@ declare option xdmp:update "true";
124124
:)
125125
declare function rxq:process-request(){
126126
rxq:process-request(false())
127-
};
127+
};
128128

129129
(:~ rxq:rewrite-options - generate <rest:request/> based on restxq annotations
130130
:
@@ -270,23 +270,23 @@ declare %private function rxq:serialize(
270270
<xsl:copy-of select="." validation="preserve" />
271271
</xsl:template>
272272
</xsl:stylesheet>,
273-
$output, (),
273+
$output, (),
274274
<options xmlns="xdmp:eval">
275275
<isolation>same-statement</isolation>
276276
</options>
277277
)
278278
};
279279

280-
(:~ rxq:gzip - custom gzip
280+
(:~ rxq:gzip - custom gzip
281281
:
282282
: @output the output of the user's target function
283-
: @returns gzip output
283+
: @returns gzip output
284284
:)
285285
declare %private function rxq:gzip(
286286
$output
287287
) as item()*
288288
{
289-
xdmp:add-response-header("Content-encoding", "gzip"),
289+
xdmp:add-response-header("Content-encoding", "gzip"),
290290
xdmp:gzip($output)
291291
};
292292

@@ -455,4 +455,4 @@ declare function rxq:handle-error(
455455
{
456456
xdmp:set-response-code(500, $e/error:format-string),
457457
rest:report-error($e)
458-
};
458+
};

src/example-simple/rxq-rewriter.xqy

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ xquery version "1.0-ml";
22
(:
33
: rxq-rewriter.xqy
44
:
5-
: Copyright (c) 2012-2014 James Fuller. All Rights Reserved.
5+
: Copyright (c) 2012-2017 James Fuller. All Rights Reserved.
66
:
77
: Licensed under the Apache License, Version 2.0 (the "License");
88
: you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)