XmlParser - Fix handling of XML comment just before closing-tag#5895
XmlParser - Fix handling of XML comment just before closing-tag#5895
Conversation
WalkthroughThe changes update the XML parser to correctly refresh the current character after advancing the enumerator when handling comments or CDATA sections. Additionally, new unit tests are added to verify parsing of empty elements with explicit closing tags and handling of comments inside such elements. Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Pull request was closed
Pull request was closed
|



Followup to #5712