Letractively / rdflib

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

Move from current N3 parser to the one from CWM #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The CWM parser is more or less defining the N3 "standard". 

Sean B. Palmer has already disconnected it from CWM here: 

http://inamidst.com/list/sw/trio/

I propose we take this and integrate it into rdflib. This would solve a
bunch of N3 related tickets: #4, #22, #29, #38, #84, #68 ... 

The question is to do this before a 2.5 release?

Original issue reported on code.google.com by gromgull on 31 Jan 2010 at 3:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
We already have a few big changes going into 2.5 and so it seems to me like it 
might be a good time to make this 
relatively big change as well.

Original comment by eik...@gmail.com on 1 Feb 2010 at 5:45

GoogleCodeExporter commented 8 years ago
Committed in r1755

Original comment by gromgull on 2 Feb 2010 at 9:41

GoogleCodeExporter commented 8 years ago
pyflakes has a lot of complaints about this code:

rdflib/trunk% pyflakes rdflib/syntax/parsers/notation3.py
rdflib/syntax/parsers/notation3.py:36: 'codecs' imported but unused
rdflib/syntax/parsers/notation3.py:37: 'urllib' imported but unused
rdflib/syntax/parsers/notation3.py:42: 'warn' imported but unused
rdflib/syntax/parsers/notation3.py:43: 'index' imported but unused
rdflib/syntax/parsers/notation3.py:443: redefinition of unused 'XMLNS' from 
line 441
rdflib/syntax/parsers/notation3.py:874: undefined name 'PARSES_TO_URI'
rdflib/syntax/parsers/notation3.py:880: undefined name 'subj'
rdflib/syntax/parsers/notation3.py:1736: undefined name 'startline'
rdflib/syntax/parsers/notation3.py:2008: undefined name 'args'
rdflib/syntax/parsers/notation3.py:2225: redefinition of function 
'setDefaultNamespace' from 
line 2205
rdflib/syntax/parsers/notation3.py:2734: undefined name 'FRESH'
rdflib/syntax/parsers/notation3.py:2784: undefined name 'bNodes'
rdflib/syntax/parsers/notation3.py:2786: undefined name 'bNodes'
rdflib/syntax/parsers/notation3.py:2788: undefined name 'bNodes'

Original comment by drewpca on 3 Feb 2010 at 7:08

GoogleCodeExporter commented 8 years ago
Fixed in r1764

I removed the N3 serialising code from notoation3.py, if we see the need to 
change to
this one later then we can re-copy it from the trio repository.

Original comment by gromgull on 3 Feb 2010 at 8:35