[pypy-issue] Issue #2684: xml.parsers.expat does not handle entities (pypy/pypy)
Jean-Baptiste Lamy
issues-reply at bitbucket.org
Fri Oct 20 14:51:38 EDT 2017
New issue 2684: xml.parsers.expat does not handle entities
https://bitbucket.org/pypy/pypy/issues/2684/xmlparsersexpat-does-not-handle-entities
Jean-Baptiste Lamy:
The xml.parsers.expat does not handle entities in PyPy3, but it does with CPython.
The attached file produces different results with PyPy3 5.9 and Python 3.6.2:
Python3:
http://www.w3.org/1999/02/22-rdf-syntax-ns#RDF {'http://www.w3.org/XML/1998/namespacebase': 'http://www.semanticweb.org/jiba/ontologies/2017/0/test'}
PyPy3:
rdf:RDF {'xmlns': 'http://www.semanticweb.org/jiba/ontologies/2017/0/test#', 'xml:base': 'http://www.semanticweb.org/jiba/ontologies/2017/0/test', 'xmlns:rdfs': 'http://www.w3.org/2000/01/rdf-schema#', 'xmlns:owl': 'http://www.w3.org/2002/07/owl#', 'xmlns:xsd': 'http://www.w3.org/2001/XMLSchema#', 'xmlns:rdf': 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'}
More information about the pypy-issue
mailing list