Rune Froysa wrote: > >From http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-character :: > Consequently, XML processors MUST accept any character in the range > specified for Char > ... > Char ::= [#x1-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
you're looking at the XML 1.1 specification. don't do that. nobody uses 1.1. here's the 1.0 version: http://www.w3.org/TR/REC-xml/#dt-character Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF] </F> -- http://mail.python.org/mailman/listinfo/python-list