Skip to the content Back to Top

While changing reports in the Genie MyReports.config file, we encountered an unexpected invalid comment syntax error message. After checking the code and some investigation, we discovered that the character string -- (double-hyphen) is not allowed within comments in XML. According to the W3C Extensible Markup Language (XML) 1.0 (Third Edition) specifications: For compatibility (with SGML), the string -- (double-hyphen) MUST NOT occur within comments.] What an esoteric topic you say? We discovered its very easy to come up against this in Genie. In our case we created a new Loans By Borrower report, and commented out the default report. The error arose because the character string -- is used four times in the default report, as header text before fields. Changing it to a single dash was all that was needed to remove the error. The -- character string in used in other reports as well.

Let Us Help You!

We're Librarians - We Love to Help People