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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoding.xml: fix parsing for self closing empty tags. #19907

Merged
merged 1 commit into from Nov 17, 2023
Merged

encoding.xml: fix parsing for self closing empty tags. #19907

merged 1 commit into from Nov 17, 2023

Conversation

hungrybluedev
Copy link
Member

@hungrybluedev hungrybluedev commented Nov 17, 2023

An edge case for empty self-closing tags like <single/> was causing errors during parsing. This PR fixes it and adds a test for it.

馃[deprecated] Generated by Copilot at 6094bb5

This pull request fixes a bug in the encoding/xml module that incorrectly parsed self-closing tags. It also adds a test case to verify the correct behavior of the XML parser.

馃[deprecated] Generated by Copilot at 6094bb5

  • Fix a bug in the XML parser that caused self-closing tags to have a slash in their name (link)
  • Add a test case for the XML parser that contains a self-closing tag (link,link)

@spytheman spytheman merged commit 1482a2f into vlang:master Nov 17, 2023
43 checks passed
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.

None yet

2 participants