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

Parse nodes before and after the root element #560

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Parse nodes before and after the root element #560

merged 1 commit into from
Dec 13, 2021

Commits on Oct 1, 2021

  1. XML allows for comments and processing instructions to be present bef…

    …ore the start and after the end of the root element. Currently, `FactoryAdapter` does not capture those nodes, and `XMLLoader.loadXML` does not provide access to anything other than the root element anyway.
    
    This pull request addresses the issue.
    
    Note: at least with the JDK's Xerces, whitespace in the prolog and epilogue gets lost in parsing: the parser does not fire any white-space related events.
    dubinsky committed Oct 1, 2021
    Configuration menu
    Copy the full SHA
    156f2ea View commit details
    Browse the repository at this point in the history