[SLI-0088] The a
keyword is not recognized by the grammar
#88
Labels
affects/code-generation
affects/grammar
affects/semantic-analyzer
affects/syntax-analyzer
detected-in/v2.0-beta
difficulty/high
priority/medium
status/deferred
Deferred because it does not meet the goals of the upcoming major release. Will be considered later.
type/bug
Introduction
In turtle the keyword
a
was included as alias ofrdf: type
. The language of shapes expressions adopted it and therefore shex-lite should support it too.Current Behavior
Currently for the scheme
(input_correct_java_schema_user_car_1.shexl)
,If we execute
java -jar shexlc-2.0-beta.jar input_correct_java_schema_user_car_1.shexl
the compiler produces the following output:Output:
Expected Behavior
Typically, the grammar would accept this keyword and then be automatically replaced by the compiler with rdf: type.
The text was updated successfully, but these errors were encountered: