W3C home > Mailing lists > Public > public-cwm-talk@w3.org > January to March 2005

where do I send a bug in n3.n3/n3p.py?

From: Yosi Scharf <syosi@mit.edu>
Date: Wed, 19 Jan 2005 22:06:52 -0500
Message-ID: <41EF204C.9010708@mit.edu>
To: "Sean B. Palmer" <sean+cwm@infomesh.net>
Cc: public-cwm-talk@w3.org

I was integrating n3p.py with cwm. I got it working, and in the process, 
I ran into that the file:

{@forAll :x . :x :a :b} :v :c .

did not parse. The error was:

[syosi@yosi n3p]$ python2.4 n3proc.py noparse.n3
prodBranch {u'a': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'"': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'{': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'@this': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'(': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'+': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'-': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'0': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], 
u'@keywords': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'@prefix': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'_': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], 
u'@forSome': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'@forAll': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'[': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u':': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'}': [], 
u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'?': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist']}
Traceback (most recent call last):
  File "n3proc.py", line 570, in ?
    main()
  File "n3proc.py", line 566, in main
    parse(args[0], options)
  File "n3proc.py", line 541, in parse
    p.parse()
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 77, in parse
    raise Exception("Found %s when expecting a %s" % (tok, prod))
Exception: Found @ when expecting a 
http://www.w3.org/2000/10/swap/grammar/n3#formulacontent



Yosi Scharf
Received on Thursday, 20 January 2005 03:07:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:01 GMT