Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Parsing fails when XML declaration is missing and a standard PI is present #134

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

lucacorti
Copy link
Contributor

@lucacorti lucacorti commented Sep 2, 2024

Currently, when the optional xml declaration is missing in the prolog and a standard processing instruction with the <?xml- prefix is present in the document, parsing fails.

Adds fixtures to test:

  • Missing optional XML declaration (currently works, misses a test)
  • Missing optional XML declaration with a standard '<?xml-' Processing Instruction (Fails)
  • Missing optional XML declaration with a custom '<?' Processing Instruction (currently works, misses a test)

Adds fixtures to test:
 - Missing optional XML declaration (currently works, misses a test)
 - Missing optional XML declaration with a standard '<?xml-' Processing Instruction (Fails)
 - Missing optional XML declaration with a custom '<?' Processing Instruction (Fails)
@lucacorti lucacorti changed the title Add failing tests for prolog variations Parsing fails when XML declaration is missing and a standard PI is present Sep 2, 2024
@qcam qcam merged commit adb66d2 into qcam:master Oct 22, 2024
17 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants