https://bugs.kde.org/show_bug.cgi?id=397936
Bug ID: 397936 Summary: Kate reports errors for syntax xml file but NO DETAILS Product: kate Version: unspecified Platform: Ubuntu Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: syntax Assignee: kwrite-bugs-n...@kde.org Reporter: trijez...@gmail.com Target Milestone: --- I have made a new syntax highlighting profile xml file. When opening a file with the associated file extension, Kate opens a dialog box reporting "warning(s) and/or error(s)" and displays a button to click on for details. When I click that button, it opens another dialog box, but the details are empty. I thoroughly checked the xml file and cannot find anything wrong with it. I checked that every list name is actually referenced, that every context referenced is actually defined, that every attribute referenced actually has a style entry. I also checked that no regex shadows that of another rule. Besides, everything works as intended. I used xmllint to check the file and it did not report any warnings nor errors. However, when I use the --valid switch, xmllint reports that the language.dtd that ships with Kate has a "content error": $ xmllint --valid gll.xmllanguage.dtd:1: parser error : Content error in the external subset <!DOCTYPE dtd PUBLIC "-//Norman Walsh//DTD DTDParse V2.0//EN" ^ When I installed the XML validation plugin for Kate and use the XML menu to validate the file, Kate reports the same error then. This is not surprising since the Kate plugin uses xmllint. Xmllint expects the DTD file in the same directory as the file to be validated, so I had to copy the language.dtd file first. In any event, it is very annoying to get a dialog box that reports warnings or errors but doesn't provide any detail. I have to dismiss the dialog box every time I edit a file that uses the syntax profile. So would anybody else using this (as I intend to contribute it). The xml file is at: https://github.com/trijezdci/gll/blob/master/syntax-highlighting/kate/gll.xml -- You are receiving this mail because: You are watching all bug changes.