Haven't run into this problem before, but (at the risk of repeating what you have probably already done) I'd start by verifying that the file extension .xhtml only appears in the "File Extensions" list of the XHTML language type at Options-->Languages-->Web Authoring Languages-->XHTML and does not appear in the file extension list of the XML language type. Also, ensure that the entry for the ".xhtml" file extension in Options-->Languages-->File Extension Manager references the XHTML language type.