Summary: | Comment error produces crash | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | hansoa2 |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | Keywords: | drkonqi |
Priority: | NOR | ||
Version: | 3.10.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=328527 | ||
Latest Commit: | Version Fixed In: |
Description
hansoa2
2013-08-08 05:05:59 UTC
Can you attach the highlighting file please? (In reply to comment #1) > Can you attach the highlighting file please? Change line 18 in /usr/share/kde4/apps/katepart/syntax/cpp.xml to: <!-- <!-- <item> asm </item> --> It didn't crash this time, but C++ disappeared from the list of Sources languages. (Why does that happen instead of loudly reporting the error?) No, this is invalid XML syntax. We won't introduce support for buggy xml formats. So this is a wont-fix, sorry. Further info: -- is not allowed in an xml comment, see http://stackoverflow.com/questions/1324821/nested-comments-in-xml Should I create a separate report for "invalid highlight file makes language disappear"? No, the thing is that invalid syntax is simply something we don't have resources for. In this case, the syntax is not valid, and therefore the file is not shown. This is perfectly fine, in fact, what are we supposed to change? Use the script "checkdtd file.xml" (shipped with Kate, should be installed somewhere on the system) to check validity. |