While playing with custom XML code completion, I noticed a place where there seems to be missing syntax error reporting in the AlterNET parser.
When not closing the attribute value, I observe this result:
Visual Studio reports an error:
VS seems to be correct - the “<” char is forbidden: xml serialization - Which characters are Invalid (unless encoded) in an XML attribute? - Stack Overflow
Don’t know whether this would also have an influence on syntax highlighting. The VS result looks better
Thank you for reporting this problem, it’s been fixed, and the fix will be included in the coming update.
We have just released an update via NuGet (version 9.1.2), where this issue should be addressed.
Please let me know if it works as you expect.
Thanks, perfect! I can confirm that the error is reported now.
By the way: you have a typo in the newly introduced localization field “StringConsts.InvalidCharatcerInAttributeValues”
Agh, that’s a bad one It will be definitely fixed.