Schematron implementation of eld-19 technically incorrect

XMLWordPrintableJSON

    • Type: Technical Correction
    • Resolution: Persuasive
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • ElementDefinition
    • Hide

      Auto-approved

      Will correct as per last two lines. Not going to past it here because gForge will mess it up (which is probably what happened last time...)

      Show
      Auto-approved Will correct as per last two lines. Not going to past it here because gForge will mess it up (which is probably what happened last time...)
    • Non-substantive

      All schematron validation will fail. Original line in sch files (bold applied by me):

      <sch:assert test="matches(path/@value, '[^\s\.,:;\'&quot;\/|?!@#$%&amp;*()[]{}]

      {1,64}(\.[^\s\.,:;\'&quot;\/|?!@#$%&amp;*()[]{}]{1,64}

      ([x])?(\:[^\s\.]+)?)*')">eld-19: Element names cannot include some special characters</sch:assert>

      The ampersand is not escaped correctly.

      <sch:assert test="matches(path/@value, '[^\s\.,:;\'&quot;\/|?!@#$%&amp;

      Should be

      <sch:assert test="matches(path/@value, '[^\s\.,:;\'&quot;\/|?!@#$%&

            Assignee:
            Lloyd McKenzie
            Reporter:
            Alexander Henket
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: