pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1528833 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Date Thu, 03 Oct 2013 12:53:01 GMT
Author: lehmi
Date: Thu Oct  3 12:53:00 2013
New Revision: 1528833

URL: http://svn.apache.org/r1528833
Log:
PDFBOX-1737: skip white spaces when resolving a XRef as proposed by Oleg Krechowetzki

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java?rev=1528833&r1=1528832&r2=1528833&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfparser/NonSequentialPDFParser.java
Thu Oct  3 12:53:00 2013
@@ -335,6 +335,8 @@ public class NonSequentialPDFParser exte
             // seek to xref table
             setPdfSource(prev);
 
+            // skip white spaces
+            skipSpaces();
             // -- parse xref
             if (pdfSource.peek() == 'x')
             {



Mime
View raw message