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

Is Apex-XPath scalable enough? #4

Open
JenniferSimonds opened this issue Feb 15, 2016 · 0 comments
Open

Is Apex-XPath scalable enough? #4

JenniferSimonds opened this issue Feb 15, 2016 · 0 comments

Comments

@JenniferSimonds
Copy link
Owner

Apex-XPath is based on the Dom.Document class. When this class parses an XML file, it constructs the whole DOM structure in memory, unlike XMLStreamReader. Because of this, there are bound to be practical limits on how large an XML file it can process.

Dom.Document imposes a limit of 50 nodes deep on the XML structure it can handle. (Although, so does XMLStreamReader, so maybe it's no less scalable?)

If there are limits to how big an XML file Dom.Document (and therefore Apex-XPath) can handle, do you know of any ways we could work around them?

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

No branches or pull requests

1 participant