If you encounter a start tag, end tag, end-of-file or non-space character token during the initial phase that token should be reprocessed in the root element phase. Just switching to the root element phase is not enough. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>