Skip to content

Fix whitespace skipping while parsing direct processing instructions - #2784

Merged
ChristianGruen merged 1 commit into
BaseXdb:mainfrom
GuntherRademacher:#2784
Oct 22, 2026
Merged

ChristianGruen merged 1 commit into
BaseXdb:mainfrom
GuntherRademacher:#2784

Conversation

@GuntherRademacher

Copy link
Copy Markdown
Member

The parser skipped XQuery comments between the processing instruction target and content, e.g.

<?hello (:darkness, :)my old friend?>

resulted in

<?hello my old friend?>

while it should preserve the left parenthesis and everything following it. This is fixed here.

@ChristianGruen
ChristianGruen merged commit 4e893d2 into BaseXdb:main Oct 22, 2026
2 checks passed
@ChristianGruen
ChristianGruen deleted the #2784 branch October 22, 2026 13:43
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