mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Refactor some xfa*** getters in document.js
- it's a follow-up of PR #14735.
This commit is contained in:
parent
38e9a46a85
commit
f4fcb59a5e
2 changed files with 43 additions and 52 deletions
|
@ -52,7 +52,7 @@ class DatasetReader {
|
|||
} else {
|
||||
const parser = new DatasetXMLParser({ hasAttributes: true });
|
||||
try {
|
||||
parser.parseFromString(data.xdp);
|
||||
parser.parseFromString(data["xdp:xdp"]);
|
||||
} catch (_) {}
|
||||
this.node = parser.node;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue