However, replacing it with the file in this gist fixes that problem, along with a few minor things:
How to install
Sublime Text 2
In Sublime, open a new file and paste in the contents of the gist. Save the file to your Desktop as XML.tmLanguage. Open your Packages folder by selecting Preferences → Browse Packages…, then close Sublime. Scroll down to the XML folder and rename XML.tmLanguage as XML.tmLanguage.old. If it exists, delete XML.tmLanguage.cache. Now, copy the new XML.tmLanguage from your Desktop to Packages/XML. The next time you open an XML file in Sublime, it will use the new syntax.
Sublime Text 3 Build <= 3083 (public beta)
In Sublime, open a new file and paste in the contents of the gist. Save the file to your Desktop as XML.tmLanguage. Open your Packages folder by selecting Preferences → Browse Packages…, then close Sublime. Create a new folder in Packages named XML and copy the new XML.tmLanguage from your Desktop to Packages/XML. The next time you open an XML file in Sublime, it will use the new syntax.
Sublime Text 3 Build > 3083 (dev builds)
In Sublime, open a new file and paste in the contents of the gist. Save the file to your Desktop as XML.tmLanguage. Create another new file in Sublime with the following contents:
Save this file to your Desktop as XML.sublime-syntax. Open your Packages folder by selecting Preferences → Browse Packages…, then close Sublime. Create a new folder in Packages named XML and copy the new XML.tmLanguage and XML.sublime-syntax files from your Desktop to Packages/XML. The next time you open an XML file in Sublime, it will use the new syntax. There will be a new entry in the syntax menu called XML-ss (for sublime-syntax), just ignore it.
How it works
Sublime Text 2
Here, we simply replace the old language definition (.tmLanguage file) with the new one.
Sublime Text 3
In Sublime Text 3, the default packages (and many that you install with Package Control) are stored in a separate directory as zipped .sublime-package files. However, if you create a folder and file in the Packages folder with the same name as a package (XML in this case) and file contained within it, the version in Packages will override the version in the sublime-package archive. For ST3 builds 3083 and before, the same XML-based .tmLanguage format as ST2 was used.
However, starting with dev build 3084 and beyond, a new YAML-based .sublime-syntax format was introduced, and all of the default syntax definitions were converted. The .tmLanguage format is still supported, however, but we needed to override the XML/XML.sublime-syntax file first in order for our new .tmLanguage file to be used.
Background
The XML syntax highlighting language definition that ships with Sublime Text 2/3 does not recognize non-ASCII tags:
Note: The Neon Color Scheme is used for syntax highlighting
However, replacing it with the file in this gist fixes that problem, along with a few minor things:
How to install
Sublime Text 2
In Sublime, open a new file and paste in the contents of the gist. Save the file to your Desktop as
XML.tmLanguage. Open yourPackagesfolder by selectingPreferences → Browse Packages…, then close Sublime. Scroll down to theXMLfolder and renameXML.tmLanguageasXML.tmLanguage.old. If it exists, deleteXML.tmLanguage.cache. Now, copy the newXML.tmLanguagefrom your Desktop toPackages/XML. The next time you open an XML file in Sublime, it will use the new syntax.Sublime Text 3 Build <= 3083 (public beta)
In Sublime, open a new file and paste in the contents of the gist. Save the file to your Desktop as
XML.tmLanguage. Open yourPackagesfolder by selectingPreferences → Browse Packages…, then close Sublime. Create a new folder inPackagesnamedXMLand copy the newXML.tmLanguagefrom your Desktop toPackages/XML. The next time you open an XML file in Sublime, it will use the new syntax.Sublime Text 3 Build > 3083 (dev builds)
In Sublime, open a new file and paste in the contents of the gist. Save the file to your Desktop as
XML.tmLanguage. Create another new file in Sublime with the following contents:Save this file to your Desktop as
XML.sublime-syntax. Open yourPackagesfolder by selectingPreferences → Browse Packages…, then close Sublime. Create a new folder inPackagesnamedXMLand copy the newXML.tmLanguageandXML.sublime-syntaxfiles from your Desktop toPackages/XML. The next time you open an XML file in Sublime, it will use the new syntax. There will be a new entry in the syntax menu calledXML-ss(for sublime-syntax), just ignore it.How it works
Sublime Text 2
Here, we simply replace the old language definition (
.tmLanguagefile) with the new one.Sublime Text 3
In Sublime Text 3, the default packages (and many that you install with Package Control) are stored in a separate directory as zipped
.sublime-packagefiles. However, if you create a folder and file in thePackagesfolder with the same name as a package (XMLin this case) and file contained within it, the version inPackageswill override the version in thesublime-packagearchive. For ST3 builds 3083 and before, the same XML-based.tmLanguageformat as ST2 was used.However, starting with dev build 3084 and beyond, a new YAML-based
.sublime-syntaxformat was introduced, and all of the default syntax definitions were converted. The.tmLanguageformat is still supported, however, but we needed to override theXML/XML.sublime-syntaxfile first in order for our new.tmLanguagefile to be used.