You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the RuleParser to parse a datalog rule. If I try to parse a empty prefix like @prefix : <http://example.org/> . with RuleParser.parse("@prefix : <http://example.org/> ."); I get an Exception org.semanticweb.rulewerk.parser.javacc.ParseException: Encountered " ":" ": "" at line 1, column 9. Was expecting: <PNAME_NS> ...
Based on the used prefix syntax an empty prefix should work. PREFIX ::= '@prefix' PNAME_NS?':' IRIREF '.'
Best regards,
Tim
The text was updated successfully, but these errors were encountered:
Hi,
I am using the RuleParser to parse a datalog rule. If I try to parse a empty prefix like
@prefix : <http://example.org/> .
withRuleParser.parse("@prefix : <http://example.org/> .");
I get an Exceptionorg.semanticweb.rulewerk.parser.javacc.ParseException: Encountered " ":" ": "" at line 1, column 9. Was expecting: <PNAME_NS> ...
Based on the used prefix syntax an empty prefix should work.
PREFIX ::= '@prefix' PNAME_NS?':' IRIREF '.'
Best regards,
Tim
The text was updated successfully, but these errors were encountered: