case sensitivity and XML

Neil Hodgson neilh at scintilla.org
Sun May 21 07:01:20 EDT 2000


> 11. Given the above, a case-insensitive python cannot parse all
>     XML documents.

   This is wrong. Python can already parse all XML documents. It just can't
present the results in the form you like. The dash is a valid character in
XML attributes but not in Python identifiers. Therefore you must have a fall
back strategy to deal with some cases.

   Neil






More information about the Python-list mailing list