Comment 3 for bug 498745

Revision history for this message
Kamil (winner5) wrote : Re: XML code is recognized as HTML, <?xml version="1.0" encoding="utf-8"?> not highlighted.

Firstly, I open new gedit window, type:
'<?xml version="1.0" encoding="utf-8" standalone="no"?>'
ans click Ctrl+S, I save it as 'proba.xht' (polish word, nvm), then I put this below current content:
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" dir="ltr">
 <head>
  <title>Document</title>
  <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=&quot;utf-8&quot;"/>
  <meta http-equiv="Content-Language" content="pl"/>
 </head>
 <body>
  <div>
   <p/>
  </div>
 </body>
</html>'
I click Ctrl+S, and then mall caption on the status bar turns 'HTML'.