[mod] test results
This commit is contained in:
parent
1494cade7d
commit
c3b87e180c
3 changed files with 13 additions and 8 deletions
|
@ -41,4 +41,5 @@ jobs:
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
basex -Wt src/test
|
basex -Wt src/test >test-results.xml
|
||||||
|
cat test-results.xml
|
||||||
|
|
|
@ -5,4 +5,4 @@ Xyxh
|
||||||
4456
|
4456
|
||||||
9.7.4 xyxz01x
|
9.7.4 xyxz01x
|
||||||
ab
|
ab
|
||||||
iiiisAasx
|
iiiisAasxs
|
|
@ -11,18 +11,12 @@ module namespace pdfbox="org.expkg_zone58.Pdfbox3";
|
||||||
declare namespace Loader ="java:org.apache.pdfbox.Loader";
|
declare namespace Loader ="java:org.apache.pdfbox.Loader";
|
||||||
declare namespace PDFTextStripper = "java:org.apache.pdfbox.text.PDFTextStripper";
|
declare namespace PDFTextStripper = "java:org.apache.pdfbox.text.PDFTextStripper";
|
||||||
declare namespace PDDocument ="java:org.apache.pdfbox.pdmodel.PDDocument";
|
declare namespace PDDocument ="java:org.apache.pdfbox.pdmodel.PDDocument";
|
||||||
|
|
||||||
declare namespace PDDocumentCatalog ="java:org.apache.pdfbox.pdmodel.PDDocumentCatalog";
|
declare namespace PDDocumentCatalog ="java:org.apache.pdfbox.pdmodel.PDDocumentCatalog";
|
||||||
declare namespace PDPageLabels ="java:org.apache.pdfbox.pdmodel.common.PDPageLabels";
|
declare namespace PDPageLabels ="java:org.apache.pdfbox.pdmodel.common.PDPageLabels";
|
||||||
|
|
||||||
declare namespace PageExtractor ="java:org.apache.pdfbox.multipdf.PageExtractor";
|
declare namespace PageExtractor ="java:org.apache.pdfbox.multipdf.PageExtractor";
|
||||||
|
|
||||||
declare namespace PDPageTree ="java:org.apache.pdfbox.pdmodel.PDPageTree";
|
declare namespace PDPageTree ="java:org.apache.pdfbox.pdmodel.PDPageTree";
|
||||||
|
|
||||||
declare namespace PDDocumentOutline ="java:org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDDocumentOutline";
|
declare namespace PDDocumentOutline ="java:org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDDocumentOutline";
|
||||||
|
|
||||||
declare namespace PDDocumentInformation ="java:org.apache.pdfbox.pdmodel.PDDocumentInformation";
|
declare namespace PDDocumentInformation ="java:org.apache.pdfbox.pdmodel.PDDocumentInformation";
|
||||||
|
|
||||||
declare namespace PDOutlineItem="java:org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem";
|
declare namespace PDOutlineItem="java:org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem";
|
||||||
declare namespace PDFRenderer="java:org.apache.pdfbox.rendering.PDFRenderer";
|
declare namespace PDFRenderer="java:org.apache.pdfbox.rendering.PDFRenderer";
|
||||||
declare namespace RandomAccessReadBufferedFile = "java:org.apache.pdfbox.io.RandomAccessReadBufferedFile";
|
declare namespace RandomAccessReadBufferedFile = "java:org.apache.pdfbox.io.RandomAccessReadBufferedFile";
|
||||||
|
@ -97,6 +91,16 @@ as xs:base64Binary{
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare variable $pdfbox:doc-info:=map{
|
||||||
|
"title": PDDocumentInformation:getTitle#1,
|
||||||
|
"creator": PDDocumentInformation:getCreator#1,
|
||||||
|
"producer": PDDocumentInformation:getProducer#1,
|
||||||
|
"subject": PDDocumentInformation:getSubject#1,
|
||||||
|
"keywords": PDDocumentInformation:getKeywords#1,
|
||||||
|
"creationdate": pdfbox:gregToISO(PDDocumentInformation:getCreationDate#1),
|
||||||
|
"author": PDDocumentInformation:getAuthor#1
|
||||||
|
};
|
||||||
|
|
||||||
(:~ map with document metadata :)
|
(:~ map with document metadata :)
|
||||||
declare function pdfbox:metadata($pdf as item())
|
declare function pdfbox:metadata($pdf as item())
|
||||||
as map(*){
|
as map(*){
|
||||||
|
|
Loading…
Add table
Reference in a new issue