Closed ktk closed 4 years ago
Escape such a word with ^. Example ^map instead of map.
Odd, declaring a ^map
property works, but referencing it does not work
map EmployeeMapping from EMPLOYEE {
subject template "http://airport.example.com/{0}" with id;
properties
employee:no from ^map
employee:map from ^map
employee:^map from ^map
}
logical-source EMPLOYEE {
type xml
source "EMP"
referenceables
id
EMPNO
^map
}
vocabulary employee {
prefix "employee:" "http://example.com/employee"
properties
no
^map
}
this was a bug introduced by #12 (partially replace qname delimiter in grammar)
I've imported the whole schema.org namespace as
vocabulary {}
and I got some erros as I had a bunch of properties that are used as keywords so it stumbles over the use of them in a schema.