Skip to content

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

Merged
chrisbottin merged 1 commit intochrisbottin:masterfrom
anlambert:xml-stylesheet-first-instruction-parsing-fix
Dec 12, 2024
Merged

Fix parsing of xml-stylesheet as first processing instruction#21
chrisbottin merged 1 commit intochrisbottin:masterfrom
anlambert:xml-stylesheet-first-instruction-parsing-fix

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