Skip to content

Commit 13d2afb

Browse files
authored
Merge pull request #832 from mwatts15/master
Not adding all namespaces for n3 serializer
2 parents 5fa18be + c22cb24 commit 13d2afb

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

rdflib/plugins/serializers/turtle.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ def reset(self):
107107
self._subjects = {}
108108
self._topLevels = {}
109109

110-
for prefix, ns in self.store.namespaces():
111-
self.addNamespace(prefix, ns)
112-
113110
def buildPredicateHash(self, subject):
114111
"""
115112
Build a hash key by predicate to a list of objects for the given

test/test_issue375.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
1111
@prefix frbr: <http://vocab.org/frbr/core#> .
1212
@prefix gr: <http://purl.org/goodrelations/v1#> .
13-
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
14-
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
15-
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
1613
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
1714
1815
<http://customer.wileyeurope.com/CGI-BIN/lansaweb?procfun+shopcart+shcfn01+funcparms+parmisbn(a0130):9780596516499+parmqty(p0050):1+parmurl(l0560):http://oreilly.com/store/> a gr:Offering ;

0 commit comments

Comments
 (0)