Skip Menu |

This queue is for tickets about the PDF-Extract CPAN distribution.

Report information
The Basics
Id: 120349
Status: new
Priority: 0/
Queue: PDF-Extract

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Too strict wrt whitespace
Just FYI, the PDF specification allows any amount of whitespace between the tokens in ‘Root 1 0 R’ etc. It also allows comments (starting with % and extending to the next \cm or \cj) and any of [\0\t\cj\cl\cm ]. I see code like this in your module: $Root=int $1 if $val=~/\/Root (\d+) 0 R/s; which only allows exactly one space character between the tokens. This means some valid PDFs will be rejected.