From cce269b9fc8abeb064fb853fbe3357c26545503b Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 21 Apr 2017 15:09:36 +0100 Subject: [PATCH] readme.md --- dist/doc/thumbnailator.xqm.xml | 6 +++--- ...ator-4.1.4.xar => thumbnailator-4.1.5.xar} | Bin 104238 -> 104238 bytes package.xml | 3 +++ readme.md | 2 +- src/test/sample.xq | 4 ++-- src/test/validate.xq | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) rename dist/{thumbnailator-4.1.4.xar => thumbnailator-4.1.5.xar} (98%) 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 d913f92443dd4f4830afbb600562efa38a30cf0b..a6eee8e670be22f76f6e1ccae5fb45f4355ee94b 100644 GIT binary patch delta 1035 zcmV+m1oZo^t_H5I1`JS30|XQR2nYxOeR#193IhUtc(WJ-9w7pKc!M}3w>TsLc54EC zc$ct`0XcsoVQi~z72%|-+diYTLP?MtLfWdh-#)f#=Dh|$1+9w5 z?ZVkL%gid>7sfReB*R%rtSI#~8hGaQ&wB6H1NeIT1NRsUSws$XM>^_AUsy5fZY(71 zn$Ek~!SLEm4Fd0O`?r3ehJx*hLyoC&RKb60vHp)-u;L%Lp>;XOPkAL!hqJ?j*fTvC z%jie;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Ow&^S1SCoyHX2F z!rzy-^)FCM2MCUX9264)008{~002-+0Rj{N6aWYa2mm#8mtU0uJOVX!mz|XXN&+=? zm+6%OOAR%3l}aqCZT~(3006O{P 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