Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

Hi, I think I found a bug in XML syntax highlighting. It happens when a node contains /* or /** as text. I don't know why, but I cannot reproduce the issue here in this question, but you can check this out in this question of mine:

Getting logged in users with a SessionRegistry

xml syntax highlight bug

share|improve this question
up vote 10 down vote accepted

The syntax highlighter uses the default one-size-fits-all Java version, since the question is tagged ; it doesn't know that this particular snippet is XML. If you specify the language by adding

<!-- language: lang-xml -->

before the code block, it works fine:

    <property name="filterInvocationDefinitionSource">
        <value>
            CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
            PATTERN_TYPE_APACHE_ANT
            /**=httpSessionIntegrationFilter,logoutFilter,exceptionTranslationFilter,concurrencyFilter
        </value>
    </property>

See the "syntax highlighting" section in the editing help.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .