What is wrong? The minidom or the XML file?

Erik Max Francis max at alcyone.com
Wed Mar 10 05:08:55 EST 2004


Anthony Liu wrote:

> <?XML version="1.0" encoding="UTF-8"?>
      ^
	...
> ExpatError: not well-formed (invalid token): line 1,
> column 5

Line 1 column 5 is the L in <?XML.  That XML document type declaration
is invalid; the "XML" needs to be in lowercase.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
\__/ It's like being on a diving board that you know is too high.
    -- Sade Adu



More information about the Python-list mailing list