History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-531
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Sean Boisen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Sesame

turtle parser fails on prefixed symbols containing '.'

Created: 13/Mar/08 07:26 PM   Updated: 30/Jun/08 05:40 PM
Component/s: Rio
Affects Version/s: 2.0
Fix Version/s: None

Environment: Application name: OpenRDF workbench
Version: 2.0
Operating System: Windows Vista 6.0 (x86)
Java Runtime: Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0


 Description   
Uploading a Turtle file containing prefixed URIs with '.' incorrectly complains.

For example, loading

@prefix : <http://example.com/> .
:sym.1 a :symbol .

produces the error "Malformed document: Illegal predicate value: ".1"^^http://www.w3.org/2001/XMLSchema#decimal". Using the same example, but ":sym1" rather than ":sym.1", loads correctly. The error also occurs with URIs like "foo:sym.1".

I believe these are valid URIs according to the spec (and Redland's Rapper handles them).


 All   Comments   Change History      Sort Order:
Comment by Arjohn Kampman [13/May/08 01:40 PM]
AFAIKT, the turtle grammar does not allow dots (0x2E) in qnames, making a qname like ":sym.1" invalid.
See: http://www.w3.org/TeamSubmission/turtle/#qname

Comment by Sean Boisen [13/May/08 05:51 PM]
Hmm, you're right: i must have misread the grammar (or been fooled by Rapper). Sorry for the noise: this is not a bug.