openEHR / adl-antlr

Antrl4 grammars for ADL
Apache License 2.0
1 stars 4 forks source link

ODIN URL values aren't parsed correctly #1

Closed pieterbos closed 8 years ago

pieterbos commented 8 years ago

URLs in odin_text seem to not get parsed correctly with this grammar:

trying to parse adl2-tests/features/aom_structures/rules/openEHR-EHR-ADMIN_ENTRY.dependency_rule.v1.adls
line 238:23 mismatched input 'penehr.org' expecting '>'
line 238:36 mismatched input '/' expecting '='
line 239:36 mismatched input '/' expecting '='
line 240:36 mismatched input '/' expecting '='
line 241:36 mismatched input '/' expecting '='

Content

term_bindings = <
   ["openehr"] = <
      ["at37"] = <http://openehr.org/id/124>
      ["at38"] = <http://openehr.org/id/425>
      ["at39"] = <http://openehr.org/id/427>
      ["at40"] = <http://openehr.org/id/429>
   >
wolandscat commented 8 years ago

This should now be corrected.

pieterbos commented 8 years ago

tested and it works now

ghost commented 8 years ago

On 17-10-15 21:40, Pieter Bos wrote:

tested and it works now

— Reply to this email directly or view it on GitHub https://github.com/openEHR/adl-antlr/issues/1#issuecomment-148946856.

Thanks Pieter, you saved me lots of time.

Best regards Bert Verhees