Skip to content

Name length error in Lexer_getName #6151

Description

@griffinmyers

I'm loading up From ADV Part 1a from the SEC and encountering the following error when rendering Page 34:

Warning: name token is longer than allowed by the spec: 139

console.loging the name buffer that is throwing the error yields:

D,o,e,s, ,a,n,y, ,r,e,p,o,r,t, ,p,r,e,p,a,r,e,d, ,b,y, ,t,h,e, ,i,n,d,e,p,e,n,d,e,n,t, ,p,u,b,l,i,c, ,a,c,c,o,u,n,t,a,n,t, ,t,h,a,t, ,a,u,d,i,t,e,d, ,t,h,e, ,p,o,o,l,e,d, ,i,n,v,e,s,t,m,e,n,t, ,v,e,h,i,c,l,e, ,o,r, ,t,h,a,t, ,e,x,a,m,i,n,e,d, ,i,n,t,e,r,n,a,l, ,c,o,n,t,r,o,l,s

which I can see present on Page 34 of the pdf.

I'd like to solicit your opinion re: the severity of the error, if it's technically and issue with PDFJS or the PDF (Adobe Reader sluggishly can open this file and save it) and options for recovering from the error.

  • PDFJS Version: 1.0.1130
  • Browser: Chrome 43.0.2357.130 on Mac OSX 10.7.5 and PhantomJS 2.0 on Max OSX 10.7.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions