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

Fix parsing of xml-stylesheet as first processing instruction #21

Conversation

anlambert
Copy link

If xml-stylesheet is the first processing instruction in the document to parse, it was incorrectly parsed as a xml processing instruction.

Having a xml-stylesheet processing instruction at the top of the document to parse is not invalid accorsing to XSLT specification.

If xml-stylesheet is the first processing instruction in the document
to parse, it was incorrectly parsed as a xml processing instruction.
@chrisbottin chrisbottin merged commit 174a744 into chrisbottin:master Dec 12, 2024
4 checks passed
@chrisbottin
Copy link
Owner

Thanks for your contribution @anlambert

This fix has been published to NPM in version 4.1.3

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

Successfully merging this pull request may close these issues.

2 participants