[jira] [Updated] (PDFBOX-4337) Could extract all elements(Text, Image, Table, etc) dynamically in sequence from pdf file

2018-10-10 Thread RuhongCai (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

RuhongCai updated PDFBOX-4337:
--
Description: 
We are trying to compare two pdf files in run time and detect the "insertion" , 
"deletion", "modification" between two files.

PDFBOx works well for "extract Text for two files", but it is not enough for us,

Does any api in pdfbox or any workaround way to "read/extract" all 
component(Table, image,Text, etc) from pdf files in sequence and return some 
related useful information.

The attached is sample file which contains Text, Table, image, not-well format. 
 Read element/component in sequence

could do further comparison work. 

[^sample_pdf.pdf]

 

Many thanks!

 

 

 

  was:
We are trying to compare two pdf files in run time and detect the "insertion" , 
"deletion", "modification" between two files.

PDFBOx works well for "extract Text for two files", but it is not enough for us,

Does any api in pdfbox or any workaround way to "read/extract" all 
component(Table, image,Text, etc) from pdf files in sequence and return some 
related useful information.

The attached is sample file, you could see, there are Text, Table, image, 
not-well format.  

[^sample_pdf.pdf]

 

Many thanks!

 

 

 


> Could extract all elements(Text, Image, Table, etc) dynamically in sequence 
> from pdf file 
> --
>
> Key: PDFBOX-4337
> URL: https://issues.apache.org/jira/browse/PDFBOX-4337
> Project: PDFBox
>  Issue Type: Wish
>Reporter: RuhongCai
>Priority: Major
> Attachments: sample_pdf.pdf
>
>
> We are trying to compare two pdf files in run time and detect the "insertion" 
> , "deletion", "modification" between two files.
> PDFBOx works well for "extract Text for two files", but it is not enough for 
> us,
> Does any api in pdfbox or any workaround way to "read/extract" all 
> component(Table, image,Text, etc) from pdf files in sequence and return some 
> related useful information.
> The attached is sample file which contains Text, Table, image, not-well 
> format.  Read element/component in sequence
> could do further comparison work. 
> [^sample_pdf.pdf]
>  
> Many thanks!
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Created] (PDFBOX-4337) Could extract all elements(Text, Image, Table, etc) dynamically in sequence from pdf file

2018-10-10 Thread RuhongCai (JIRA)
RuhongCai created PDFBOX-4337:
-

 Summary: Could extract all elements(Text, Image, Table, etc) 
dynamically in sequence from pdf file 
 Key: PDFBOX-4337
 URL: https://issues.apache.org/jira/browse/PDFBOX-4337
 Project: PDFBox
  Issue Type: Wish
Reporter: RuhongCai
 Attachments: sample_pdf.pdf

We are trying to compare two pdf files in run time and detect the "insertion" , 
"deletion", "modification" between two files.

PDFBOx works well for "extract Text for two files", but it is not enough for us,

Does any api in pdfbox or any workaround way to "read/extract" all 
component(Table, image,Text, etc) from pdf files in sequence and return some 
related useful information.

The attached is sample file, you could see, there are Text, Table, image, 
not-well format.  

[^sample_pdf.pdf]

 

Many thanks!

 

 

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-2.0.x » PDFBox parent #1182

2018-10-10 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Jenkins build is back to normal : PDFBox-2.0.x #1182

2018-10-10 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-10-10 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645459#comment-16645459
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1843497 from til...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1843497 ]

PDFBOX-4071: change variable names to make it easier to find them

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-10-10 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645458#comment-16645458
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1843496 from til...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1843496 ]

PDFBOX-4071: change variable names to make it easier to find them

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



Build failed in Jenkins: PDFBox-2.0.x » PDFBox parent #1181

2018-10-10 Thread Apache Jenkins Server
See 


--
Established TCP socket on 36254
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
/home/jenkins/jenkins-slave/workspace/PDFBox-2.0.x/2.0/pom.xml 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/workspace/PDFBox-2.0.x/.repository
 clean deploy -Ppedantic -Dmaven.source.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] PDFBox parent
[INFO] Apache FontBox
[INFO] Apache XmpBox
[INFO] Apache PDFBox
[INFO] Apache Preflight
[INFO] Apache Preflight application
[INFO] Apache PDFBox Debugger
[INFO] Apache PDFBox tools
[INFO] Apache PDFBox application
[INFO] Apache PDFBox Debugger application
[INFO] Apache PDFBox examples
[INFO] PDFBox reactor
[INFO] 
[INFO] 
[INFO] Building PDFBox parent 2.0.13-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ pdfbox-parent ---
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.plugins.analysis.core.HealthAwareReporter$2; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.plugins.analysis.core.HealthAwareReporter$3; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[TASKS] Scanning folder 
'
 for files matching the pattern '**/*.java' - excludes: 
[TASKS] Found 0 files to scan for tasks
Found 0 open tasks.
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.plugins.analysis.core.HealthAwareReporter$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[TASKS] Computing warning deltas based on reference build #1180
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
pdfbox-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (default) @ pdfbox-parent ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ pdfbox-parent ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.17:check (check-java-version) @ 
pdfbox-parent ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ 
pdfbox-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ 
pdfbox-parent >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
pdfbox-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (default) @ pdfbox-parent ---
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ 
pdfbox-parent <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ pdfbox-parent ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ pdfbox-parent ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 1 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 1 licenses.
[INFO] 
[INFO] --- dependency-check-maven:3.3.2:check (default) @ pdfbox-parent ---
[INFO] Central analyzer disabled
[INFO] Checking for updates
[INFO] starting getUpdatesNeeded() ...
[INFO] Download Started for NVD CVE - Modified
[INFO] Download Complete for NVD CVE - Modified  (2409 ms)
[INFO] Processing Started for NVD CVE - Modified
[INFO] Processing Complete for NVD CVE - Modified  (27643 ms)
[INFO] Begin database maintenance.
[INFO] End database maintenance.
[INFO] Check for updates complete (53635 ms)
[INFO] Analysis Started
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (2 seconds)
[INFO] Skipping CPE Analysis for npm
[INFO] Finished CPE Analyzer (2 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
[INFO] Finished NVD CVE Analyzer (0 seconds)
[INFO] Finished Vulnerability Suppression Analyzer (0 seconds)
[INFO] Finished Dependency Bundling Analyzer (0 seconds)
[INFO] Analysis Complete (2 

Build failed in Jenkins: PDFBox-2.0.x #1181

2018-10-10 Thread Apache Jenkins Server
See 


Changes:

[tilman] PDFBOX-4071: close inputstream

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-1 (ubuntu trusty) in workspace 

Cleaning up 
Deleting 
Updating http://svn.apache.org/repos/asf/pdfbox/branches/2.0 at revision 
'2018-10-10T19:29:10.221 +'
U 
examples/src/main/java/org/apache/pdfbox/examples/signature/validation/CrlHelper.java
U fontbox/src/main/java/org/apache/fontbox/cmap/CMap.java
At revision 1843494

Parsing POMs
Established TCP socket on 36254
maven35-agent.jar already up to date
maven35-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[2.0] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx1g -cp 
/home/jenkins/jenkins-slave/maven35-agent.jar:/home/jenkins/tools/maven/apache-maven-3.5.0/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.5.0/conf/logging
 jenkins.maven3.agent.Maven35Main /home/jenkins/tools/maven/apache-maven-3.5.0 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven35-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 36254
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f 
 
-Dmaven.repo.local= 
clean deploy -Ppedantic -Dmaven.source.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] PDFBox parent
[INFO] Apache FontBox
[INFO] Apache XmpBox
[INFO] Apache PDFBox
[INFO] Apache Preflight
[INFO] Apache Preflight application
[INFO] Apache PDFBox Debugger
[INFO] Apache PDFBox tools
[INFO] Apache PDFBox application
[INFO] Apache PDFBox Debugger application
[INFO] Apache PDFBox examples
[INFO] PDFBox reactor
[INFO] 
[INFO] 
[INFO] Building PDFBox parent 2.0.13-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ pdfbox-parent ---
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.plugins.analysis.core.HealthAwareReporter$2; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.plugins.analysis.core.HealthAwareReporter$3; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[TASKS] Scanning folder 
' for files matching 
the pattern '**/*.java' - excludes: 
[TASKS] Found 0 files to scan for tasks
Found 0 open tasks.
[WARNING] Attempt to (de-)serialize anonymous class 
hudson.plugins.analysis.core.HealthAwareReporter$1; see: 
https://jenkins.io/redirect/serialization-of-anonymous-classes/
[TASKS] Computing warning deltas based on reference build #1180
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
pdfbox-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (default) @ pdfbox-parent ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ pdfbox-parent ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.17:check (check-java-version) @ 
pdfbox-parent ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.0
[INFO] 
[INFO] --- maven-site-plugin:3.7:attach-descriptor (attach-descriptor) @ 
pdfbox-parent ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ 
pdfbox-parent >>>
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
pdfbox-parent ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (default) @ pdfbox-parent ---
[WARNING] Failed to getClass for org.apache.maven.plugins.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ 
pdfbox-parent <<<
[INFO] 
[INFO] 
[INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ pdfbox-parent ---
[INFO] Skipping source per configuration.
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ pdfbox-parent ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: release.properties
[INFO] 1 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 

[jira] [Commented] (PDFBOX-4163) Java 11 compile error

2018-10-10 Thread simon steiner (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645434#comment-16645434
 ] 

simon steiner commented on PDFBOX-4163:
---

Its not a problem but just good to understand if the jar is needed or can we 
slim down the software by removing it

> Java 11 compile error
> -
>
> Key: PDFBOX-4163
> URL: https://issues.apache.org/jira/browse/PDFBOX-4163
> Project: PDFBox
>  Issue Type: Bug
>  Components: XmpBox
>Reporter: simon steiner
>Priority: Major
>  Labels: jdk11
>
> mvn clean install -DskipTests
> xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package 
> javax.xml.bind does not exist



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-10-10 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645411#comment-16645411
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1843489 from til...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1843489 ]

PDFBOX-4071: use try-with-resources

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-10-10 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645405#comment-16645405
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1843487 from til...@apache.org in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1843487 ]

PDFBOX-4071: close inputstream

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4071) Improve code quality (3)

2018-10-10 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645404#comment-16645404
 ] 

ASF subversion and git services commented on PDFBOX-4071:
-

Commit 1843486 from til...@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1843486 ]

PDFBOX-4071: close inputstream

> Improve code quality (3)
> 
>
> Key: PDFBOX-4071
> URL: https://issues.apache.org/jira/browse/PDFBOX-4071
> Project: PDFBox
>  Issue Type: Task
>Affects Versions: 2.0.8
>Reporter: Tilman Hausherr
>Priority: Major
> Attachments: pdfbox-screenshot-bad.png, pdfbox-screenshot-good.png
>
>
> This is a longterm issue for the task to improve code quality, by using the 
> [SonarQube 
> report|https://analysis.apache.org/dashboard/index/org.apache.pdfbox:pdfbox-reactor],
>  hints in different IDEs, the FindBugs tool and other code quality tools.
> This is a follow-up of PDFBOX-2852, which was getting too long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4163) Java 11 compile error

2018-10-10 Thread Tilman Hausherr (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16645360#comment-16645360
 ] 

Tilman Hausherr commented on PDFBOX-4163:
-

In theory we could remove it and use ordinary streams, but this can't be done 
for the 2.0 branch because it would be a breaking change.

Why is this a problem for you, while using jaxb wasn't a problem?

> Java 11 compile error
> -
>
> Key: PDFBOX-4163
> URL: https://issues.apache.org/jira/browse/PDFBOX-4163
> Project: PDFBox
>  Issue Type: Bug
>  Components: XmpBox
>Reporter: simon steiner
>Priority: Major
>  Labels: jdk11
>
> mvn clean install -DskipTests
> xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package 
> javax.xml.bind does not exist



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4163) Java 11 compile error

2018-10-10 Thread simon steiner (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16644805#comment-16644805
 ] 

simon steiner commented on PDFBOX-4163:
---

Can this dependency be removed, it there some functionality that is needed from 
it

> Java 11 compile error
> -
>
> Key: PDFBOX-4163
> URL: https://issues.apache.org/jira/browse/PDFBOX-4163
> Project: PDFBox
>  Issue Type: Bug
>  Components: XmpBox
>Reporter: simon steiner
>Priority: Major
>  Labels: jdk11
>
> mvn clean install -DskipTests
> xmpbox/src/main/java/org/apache/xmpbox/DateConverter.java:[403,34] package 
> javax.xml.bind does not exist



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Commented] (PDFBOX-4336) "CMap is invalid" exception thrown

2018-10-10 Thread Nico Prenzel (JIRA)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16644583#comment-16644583
 ] 

Nico Prenzel commented on PDFBOX-4336:
--

Thanks for the super fast fix!

> "CMap is invalid" exception thrown
> --
>
> Key: PDFBOX-4336
> URL: https://issues.apache.org/jira/browse/PDFBOX-4336
> Project: PDFBox
>  Issue Type: Bug
>  Components: Rendering
>Affects Versions: 2.0.11, 2.0.12
>Reporter: Nico Prenzel
>Priority: Minor
> Fix For: 2.0.13, 3.0.0 PDFBox
>
> Attachments: test.pdf
>
>
> The follwoing error is thrown within the preview generation. With Adobe 
> Reader or Foxit the file is able to open and correctly shown.
>  
> CMap is invalid
> org.apache.fontbox.cmap.CMap readCode: 123
> org.apache.pdfbox.pdmodel.font.PDType0Font readCode: 521
> org.apache.pdfbox.contentstream.PDFStreamEngine showText: 699
> org.apache.pdfbox.contentstream.PDFStreamEngine showTextString: 595
> org.apache.pdfbox.contentstream.operator.text.ShowText process: 55
> org.apache.pdfbox.contentstream.PDFStreamEngine processOperator: 848
> org.apache.pdfbox.contentstream.PDFStreamEngine processStreamOperators: 503
> org.apache.pdfbox.contentstream.PDFStreamEngine processStream: 477
> org.apache.pdfbox.contentstream.PDFStreamEngine processPage: 150
> org.apache.pdfbox.rendering.PageDrawer drawPage: 254
> org.apache.pdfbox.rendering.PDFRenderer renderImage: 245
> org.apache.pdfbox.rendering.PDFRenderer renderImageWithDPI: 179
> vlh.Tools.PDF.PDFBoxUtil generateImage: 863
> vlh.notes.BSTArchive.File.pdf.PdfFileExtend generatePreviewImage: 170



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org