> Finally, the issue I wanted to report is that the sparql parser turns > this SPARQL "?s ?p ns:foo." into this: > > [ Patterns: [(u'?s', u'?p', u'http://example.org/foo.', None)] > > where I'm pretty sure the trailing period should not be part of the > object. "?s ?p ns:foo ." parses correctly.
The problem is with the NCNAME (http://www.w3.org/TR/rdf-sparql-query/#rNCNAME) production in the SPARQL grammar. It includes the '.' character and I'm pretty sure the same production from the original XML Name grammar doesn't. > _______________________________________________ > Dev mailing list > [email protected] > http://rdflib.net/mailman/listinfo/dev _______________________________________________ Dev mailing list [email protected] http://rdflib.net/mailman/listinfo/dev
