diff --git a/dist/doc/thumbnailator.xqm.xml b/dist/doc/thumbnailator.xqm.xml index dd6f126..5d34309 100644 --- a/dist/doc/thumbnailator.xqm.xml +++ b/dist/doc/thumbnailator.xqm.xml @@ -1,6 +1,6 @@ - 2017-04-21T14:41:43.648+01:00 + 2017-04-21T15:03:58.643+01:00 1.1 @@ -79,7 +79,7 @@ base64Binary for thumbnail thumbnails:task - declare function thumbnails:task($source as xs:base64Binary, $task as element(task)) as xs:base64Binary + declare function thumbnails:task($source as xs:base64Binary, $task as element(thumbnail)) as xs:base64Binary source @@ -87,7 +87,7 @@ task - element(task) + element(thumbnail) diff --git a/dist/thumbnailator-4.1.4.xar b/dist/thumbnailator-4.1.5.xar similarity index 98% rename from dist/thumbnailator-4.1.4.xar rename to dist/thumbnailator-4.1.5.xar index d913f92..a6eee8e 100644 Binary files a/dist/thumbnailator-4.1.4.xar and b/dist/thumbnailator-4.1.5.xar differ diff --git a/package.xml b/package.xml index 8588511..a74f806 100644 --- a/package.xml +++ b/package.xml @@ -13,5 +13,8 @@ + + + \ No newline at end of file diff --git a/readme.md b/readme.md index 3452503..f6dd168 100644 --- a/readme.md +++ b/readme.md @@ -39,7 +39,7 @@ let $task:= return fetch:binary("http://images.metmuseum.org/CRDImages/ep/original/DT46.jpg") =>t:task($task) ``` -A schema for this is [provided](./src/content/task.xsd) +A schema for this is [provided](./master/src/main/content/task.xsd) ## Installation The library is packaged in the [EXpath](http://expath.org/spec/pkg) xar format with diff --git a/src/test/sample.xq b/src/test/sample.xq index 61c3661..9671d35 100644 --- a/src/test/sample.xq +++ b/src/test/sample.xq @@ -17,6 +17,6 @@ let $task:= (: let $task:=doc("rotate.xml")/task :) let $x:=fetch:binary($remote) - (: let $r:=Q{java:org.expkgzone58.image.Thumbs}size($x,xs:int(40),xs:int(40)) :) -let $r:=Q{java:org.expkgzone58.image.Thumbs}task($x,$task) + let $r:=Q{java:org.expkgzone58.image.Thumbs}size($x,xs:int(40),xs:int(40)) +(: let $r:=Q{java:org.expkgzone58.image.Thumbs}task($x,$task) :) return file:write-binary($picr,$r) \ No newline at end of file diff --git a/src/test/validate.xq b/src/test/validate.xq index cff71e0..6d5258b 100644 --- a/src/test/validate.xq +++ b/src/test/validate.xq @@ -1,2 +1,2 @@ import module namespace t="expkg-zone58:image.thumbnailator"; -t:validate("C:/Users/andy/git/ex-thumbnailator/src/test/sample-task.xml") \ No newline at end of file +t:validation-report("C:/Users/andy/git/ex-thumbnailator/src/test/sample-task.xml") \ No newline at end of file