When the tag is present on a question, I think it is generally safe to apply Java syntax highlighting. Example question:

JAXB HashMap unmappable

Alternatively, XML syntax highlighting could be applied, but usually the interesting part of the question is about how to use JAXB in Java

  • 3
    Is there any reason to not just add the java tag? Commented Feb 26, 2012 at 17:14
  • 1
    @BilltheLizard: java is redundant with the j in jaxb. Some may argue that the java tag is thus not necessary. But then again, this rule would apply to many other tags, too. Maybe that goes too far?
    – Lukas Eder
    Commented Feb 26, 2012 at 17:24


You must log in to answer this question.

Browse other questions tagged .