XML-001: Unclosed XML Tag - XML
Summary
- Rule ID:
XML-001 - Severity:
MEDIUM - Category:
XML - Normative Level:
SHOULD - Auto-Fix:
Yes (unsafe) - Verified On:
2026-10-17
Applicability
- Tool:
all - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices
- https://developers.openai.com/api/docs/guides/prompt-engineering
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
<example>
This XML tag is never closed and will confuse the parser.
Valid
<example>
This is a properly closed XML tag in markdown.
</example>