walidazizi / rdflib

Automatically exported from code.google.com/p/rdflib
Other
0 stars 0 forks source link

Does not handle application/xhtml+xml #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
application/xhtml+xml is the official Internet media type for XHTML 
documents[1]. RDFLib's Graph.parse should automatically choose the RDFa parser 
for entities of this type, like it does for text/html. The attached patch fixes 
this.

(In theory, such documents could also contain RDF/XML markup, but RDFa is a 
much more reasonable default.)

[1] http://www.w3.org/TR/xhtml-media-types/

Original issue reported on code.google.com by vfaronov on 18 Sep 2010 at 10:29

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by ed.summers on 19 Sep 2010 at 1:02

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1896.

Original comment by ed.summers on 19 Sep 2010 at 1:13

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 855dc6446448.

Original comment by ed.summers on 30 Mar 2011 at 9:07