trying to use pyRXP
emf
i at mindlace.net
Fri May 23 19:22:29 EDT 2003
Hello,
I have pyRXP 0.97. I want to use it (at least) to read in and possibly
write out xhtml files.
I am trying to parse my home page:
>>> p=pyRXP.Parser()
>>> p.parse(open('index.html').read())
Traceback (most recent call last):
File "<stdin>", line 1, in ?
pyRXP.Error: Error: 0x192 is not a valid 8-bit XML character
in entity "HTMLsymbol" at line 25 char 26 of
http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent
in unnamed entity at line 34 char 13 of
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
0x192 is not a valid 8-bit XML character
Parse Failed!
Now I don't know for sure, but I am somewhat surprised that it has an
issue with the w3's DTD.
Is there something I'm doing wrong here?
~mindlace
More information about the Python-list
mailing list