The psgml package has problems recognizing xml nmaspace specifications The parser is not able to recognize the : character used for separtion in the <html xml:lang='en' > tag. This leads to wrong behavior when indenting the following lines using the TAB key (as seen in this example). Reproducible: Always Steps to Reproduce: 1. enter the following text into xemacs <?xml version="1.0" encoding="UTF-8"?> <html xmlns='asdasd' xml:lang='en' > <head> <title>Test</title> <meta name="author" /> </head> </html> 2. indent each line using the TAB key starting from the beginning Actual Results: <?xml version="1.0" encoding="UTF-8"?> <html xmlns='asdasd' xml:lang='en' > <head> <title>Test</title> <meta name="author" /> </head> </html> Expected Results: <?xml version="1.0" encoding="UTF-8"?> <html xmlns='asdasd' xml:lang='en' > <head> <title>Test</title> <meta name="author" /> </head> </html> a solution to the problem is discussed at http://lists.xml.org/archives/xml-dev/199907/msg00243.html the linenumber in the patch are not accurate because of its age
I have just updated app-xemacs/psgml to version 1.44. I can't verify if this problem is fixed because I could not reproduce the issue and the code mentioned in the link you included has been changed quite a bit. Hopefully that means it is fixed. :-) Feedback about that would be appreciated.