When the jaxb tag is present on a question, I think it is generally safe to apply Java syntax highlighting. Example question:
Alternatively, XML syntax highlighting could be applied, but usually the interesting part of the question is about how to use JAXB in Java
java
tag?java
is redundant with thej
injaxb
. Some may argue that thejava
tag is thus not necessary. But then again, this rule would apply to many other tags, too. Maybe that goes too far?