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

Speed up document validation #3

Open
openscript opened this issue Feb 23, 2019 · 1 comment
Open

Speed up document validation #3

openscript opened this issue Feb 23, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@openscript
Copy link
Member

Currently the validation of the document takes a long time:
stdin: 15202 ms (2 elems, 3 attrs, 6 spaces, 39 chars)

The reason is in the following import:

<xsd:import 
    namespace="http://www.w3.org/XML/1998/namespace"
    schemaLocation="http://www.w3.org/2001/xml.xsd"
/>

Getting the external schema is for some reason very slow and xerces doesn't cache it.

@openscript openscript added the enhancement New feature or request label Feb 23, 2019
@openscript openscript self-assigned this Feb 23, 2019
@openscript
Copy link
Member Author

I've copied the schema into the project as a workaround.

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

No branches or pull requests

1 participant