summaryrefslogtreecommitdiff
path: root/rdflib/plugin.py
diff options
context:
space:
mode:
authorGunnar Aastrand Grimnes <gromgull@users.noreply.github.com>2018-10-27 21:56:07 +0200
committerGitHub <noreply@github.com>2018-10-27 21:56:07 +0200
commitd7f6b99d3e2609866853f08276e257294fd1c182 (patch)
tree9cf7e5cb71df0f31bef5c8064ac00152420f977b /rdflib/plugin.py
parentc2c0187d99d2d1f309347fab0ec86522e31d04ef (diff)
parent1b07661de6d0bcecfc784ef07568560ecdfb6789 (diff)
downloadrdflib-d7f6b99d3e2609866853f08276e257294fd1c182.tar.gz
Merge pull request #828 from gromgull/remove_rdfa
remove rdfa and microdata parsers from core RDFLib
Diffstat (limited to 'rdflib/plugin.py')
-rw-r--r--rdflib/plugin.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/rdflib/plugin.py b/rdflib/plugin.py
index a9827715..3ad1cafd 100644
--- a/rdflib/plugin.py
+++ b/rdflib/plugin.py
@@ -253,45 +253,6 @@ register(
'trig', Parser,
'rdflib.plugins.parsers.trig', 'TrigParser')
-# The basic parsers: RDFa (by default, 1.1),
-# microdata, and embedded turtle (a.k.a. hturtle)
-register(
- 'hturtle', Parser,
- 'rdflib.plugins.parsers.hturtle', 'HTurtleParser')
-register(
- 'rdfa', Parser,
- 'rdflib.plugins.parsers.structureddata', 'RDFaParser')
-register(
- 'mdata', Parser,
- 'rdflib.plugins.parsers.structureddata', 'MicrodataParser')
-register(
- 'microdata', Parser,
- 'rdflib.plugins.parsers.structureddata', 'MicrodataParser')
-# A convenience to use the RDFa 1.0 syntax (although the parse method can
-# be invoked with an rdfa_version keyword, too)
-register(
- 'rdfa1.0', Parser,
- 'rdflib.plugins.parsers.structureddata', 'RDFa10Parser')
-# Just for the completeness, if the user uses this
-register(
- 'rdfa1.1', Parser,
- 'rdflib.plugins.parsers.structureddata', 'RDFaParser')
-# An HTML file may contain both microdata, rdfa, or turtle. If the user
-# wants them all, the parser below simply invokes all:
-register(
- 'html', Parser,
- 'rdflib.plugins.parsers.structureddata', 'StructuredDataParser')
-# Some media types are also bound to RDFa
-register(
- 'application/svg+xml', Parser,
- 'rdflib.plugins.parsers.structureddata', 'RDFaParser')
-register(
- 'application/xhtml+xml', Parser,
- 'rdflib.plugins.parsers.structureddata', 'RDFaParser')
-# 'text/html' media type should be equivalent to html:
-register(
- 'text/html', Parser,
- 'rdflib.plugins.parsers.structureddata', 'StructuredDataParser')
register(