ELM-Python-Client icon indicating copy to clipboard operation
ELM-Python-Client copied to clipboard

Allow [()] as first character of SPACYNAME, eg. '(X) Label'

Open per42 opened this issue 7 months ago • 0 comments

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'

per42 avatar Nov 17 '23 10:11 per42