Subject: bug#7768: 24.0.50; nXML mode misindents if CDATA on a new line

From: [email-masked]
Date: Sat, 01 Jan 2011 18:28:38 +0800

The last line gets misindented:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
  <Document>
    <Style id="Bridge"><IconStyle><Icon><href>http://jidanni.org/location/bridge.png</href></Icon></IconStyle></Style>
    <!--<Style id="Path"><LineStyle><color>7fff00ff</color></LineStyle></Style>-->
    <Folder>
      <name>燥坑 Zao Keng</name>
      <open>1</open>
      <description>
	<![CDATA[<a
		 href="http://jidanni.org/location/directions/zaokeng.html"
		 >燥坑至積丹尼 Zao Keng to Jidanni</a>]]></description>
	<Folder>
Note the above line is misindented.
One must use
      <description><![CDATA[<a ...
on the same line, else C-x h TAB misindets.

In GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-12-14 on elegiac, modified by Debian