I am trying to view XML files in Emacs, but I am not seeing any font highlighting. The entire document appears as white on black (which is my default font). The following note appears on the EmacsWiki page for nXML:
Note the colorization (font-lock) won’t work if you change the emacs colors.
But there is no additional explanation. I verified that if I start emacs as
emacs -Q somefile.xml, I will in fact get font-lock highlighting that works how I would expect. That is, the element tags are displayed in a different color from the element text. Why does font-lock seem to go away when I apply a custom theme?