gjhiggins/rdflib — Issue #166: html entities being stripped when parsing rdfa with DOCTYPE
Author: gjhiggins
Created: 2011-10-19 01:34:11+00:00
State: open
Labels: Type-Defect

Originally filed by ed.summers on 2011-04-11T16:23:55

I am not 100% certain if this is the accepted behavior here, but I've noticed that rdflib's RDFa parser is stripping HTML entities when processing XHTML, but that similar processing without the RDFa DOCTYPE results in the entity being translated to UTF-8.

See the attached test: entities.py ...