cqframework / cqframework/cqf-tooling

Position of xsi:type attribute in ModelInfo matters

Open
#401 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
22
Forks
26
PR merge metrics
No merged PRs in 30d

Description

For some reason I don't understand, the position of the xsi:type attribute in the XML ModelInfo matters:

https://github.com/cqframework/clinical_quality_language/commit/e0fd90ddcd4bf47b0218eddfeb54af9aa9e026e9

Fixup the ModelInfo serialization to produce XML that ensures that the type attribute is the first attribute listed in the ModelInfo.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the referenced clinical_quality_language commit and locate the ModelInfo serialization implementation in this repository. Verify how the XML attributes are emitted and add or update coverage if the relevant tests are found. Done means serialized ModelInfo XML consistently lists the xsi:type attribute first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, xml
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.