Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XFA - fix expression parsing & evalution in SOM expressions #13013

Open
calixteman opened this issue Feb 24, 2021 · 0 comments
Open

XFA - fix expression parsing & evalution in SOM expressions #13013

calixteman opened this issue Feb 24, 2021 · 0 comments

Comments

@calixteman
Copy link
Contributor

See:

pdf.js/src/core/xfa/som.js

Lines 106 to 116 in 45329af

case "[":
// TODO: FormCalc expression so need to use the parser
operator = operators.dotBracket;
break;
case "(":
// TODO:
// Javascript expression: should be a boolean operation with a path
// so maybe we can have our own parser for that stuff or
// maybe use the formcalc one.
operator = operators.dotParen;
break;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants