You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that quick-xml returns the same error (UnclosedTag) in 2 distinct cases:
1. Unterminated attribute (Error 1095): <a b='/>
2. Malformed element (Error 1090): <a/><b></b
This commit adds logic to differentiate between these cases by:
- Checking if any XML events were successfully parsed before the error
- If no events were parsed, examining the XML content for attribute patterns
- If the content contains '=' and a quote character, it's Error 1095
- Otherwise, it's Error 1090
0 commit comments