hsolbrig / PyShEx

ShEx interpreter for ShEx 2.0
Creative Commons Zero v1.0 Universal
24 stars 9 forks source link

BNode style start node is opaque in error reporting #34

Open hsolbrig opened 5 years ago

hsolbrig commented 5 years ago

When the start node is a BNode:

start=@<Observation> AND {fhir:nodeRole [fhir:treeRoot]}

The error reporting just shows the BNode:

Errors:
  Focus: http://hl7.org/fhir/Observation/example-haplotype2
  Start: N37a8da033a1946dfbd86fe2fd8d4ceef
  Reason:   ...

There should be some way to show at least part of the actual ShEx or make the label less opaque.

hsolbrig commented 5 years ago

Partially addressed in latest commit -- we still don't show what is in it, but at least we make it clear that it is a BNode