ELM-Python-Client
ELM-Python-Client copied to clipboard
Allow [()] as first character of SPACYNAME, eg. '(X) Label'
In my company's Doors Next instance, there are shape properties with a dcterms:title
that start with "(" and contain space. This is not allowed in the grammar defined for the Lark query parser.
Shape propery example:
<oslc:Property>
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
<oslc:propertyDefinition rdf:resource="https://nceelmprod01.stoneridge.com/rm/types/AD_1CbeoSHkEeyJlc_q460BxA"/>
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one"/>
<dcterms:description rdf:parseType="Literal"></dcterms:description>
<dcterms:title rdf:parseType="Literal">(SRE) Stakeholder Requirement ID</dcterms:title>
<oslc:name>AD_1CbeoSHkEeyJlc_q460BxA</oslc:name>
</oslc:Property>
Failing query: _RMComponent.do_complex_query call with select
='(SRE) Stakeholder Requirement ID'