Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 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

I'd say, many -related questions contain XML code, so it would probably make sense to have the XML formatter applied to them by default, I think? Even when the tags and are combined, I guess XML is the more common source code language in question / answer content...


share|improve this question
There are also questions like this, which show a different snippet. – kiamlaluno Apr 25 '12 at 19:23
@kiamlaluno: Yes that's what I mean by the combination of maven and java. In this case, Java is the wrong formatting... – Lukas Eder Apr 25 '12 at 19:29
Also XML would be wrong, as that snippet is HTML. Clearly, it's all to see in how many cases XML would be the right assumption, considering that the same language is applied when highlighting code shown in the answers. – kiamlaluno Apr 25 '12 at 19:35
As far as i see, when maven is the first tag used, code snippet are very often xml. Totally agree with you Lukas. – Jean-Rémy Revy Jul 30 '12 at 10:43
I agree with Lukas. The vast majority of Maven questions I've encountered relate to XML rather than Java code. In fact, I came here to ask this very question before realising he beat me to it. – Duncan Aug 23 '12 at 13:51

You must log in to answer this question.

Browse other questions tagged .