I just answered a question on SO and was wondering about the syntax highlighting. As you can see at Xpath - get maximum attribute for each element the syntax highlighting for XPath goes wrong, obviously because //
is interpreted as a comment.
I saw the page at Changes to syntax highlighting and the list provided at http://pastebin.com/AWMtu5rK, which says that xpath
should map to lang-xml
. However, it would be rather strange to have //
interpreted as a comment in XML as it is no valid comment.
So I was wondering whether the Google Code Prettify is the cause of the problem or the mapping in general or in this particular case is incorrect.