Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StructureMap parser sets rule name with double quotes #48

Closed
oliveregger opened this issue Jun 18, 2019 · 1 comment
Closed

StructureMap parser sets rule name with double quotes #48

oliveregger opened this issue Jun 18, 2019 · 1 comment

Comments

@oliveregger
Copy link
Contributor

Parsing Rule names keeps the double quotes for the rule names which is not valid for a rule name: StructureMap/ActivityDefinition3to4:

group ActivityDefinitionDynamicValue(source src, target tgt) extends BackboneElement {
  src.path -> tgt.path;
  src as vs where vs.type.exists().not() -> tgt.expression = create('Expression') as vt then {
    vs.description -> vt.description;
    vs.language -> vt.language;
    vs.expression -> vt.expression;
  } "expression";
}

lets to a validation error after parsing:
StructureMap.group[3].rule[2].name error id value '"expression"' is not valid.

will provide a pull request / testcase

oliveregger added a commit to ahdis/org.hl7.fhir.core that referenced this issue Jun 18, 2019
grahamegrieve added a commit that referenced this issue Jun 18, 2019
StructureMap ruleName not quoted after parsing #48
@grahamegrieve
Copy link
Collaborator

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants