FHIR Chat · STU3 IG builder error · IG creation

Stream: IG creation

Topic: STU3 IG builder error


view this post on Zulip Giorgio Cangioli (Oct 30 2018 at 17:08):

Any suggestion about what i should to look at when I have this error message back from the IG builder ?

org.hl7.fhir.exceptions.FHIRFormatError: Unknown Content definition @ START_TAG seen ...she value="Health Level Seven International"/> -->\r\n\t<definition>... @8:14
at org.hl7.fhir.dstu3.formats.XmlParserBase.unknownContent(XmlParserBase.java:269)
at org.hl7.fhir.dstu3.formats.XmlParser.parseImplementationGuide(XmlParser.java:9904)
at org.hl7.fhir.dstu3.formats.XmlParser.parseResource(XmlParser.java:17654)
at org.hl7.fhir.dstu3.formats.XmlParserBase.parse(XmlParserBase.java:104)
at org.hl7.fhir.dstu3.formats.XmlParserBase.parse(XmlParserBase.java:88)
at org.hl7.fhir.igtools.publisher.ConfigFileConverter.parse(ConfigFileConverter.java:244)
at org.hl7.fhir.igtools.publisher.ConfigFileConverter.convert(ConfigFileConverter.java:89)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromJson(Publisher.java:1095)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:944)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:523)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4925)

To complete the information I'm trying to build an STU3 based IG starting from a R4 IG (that compiles correctly)

view this post on Zulip Eric Haas (Oct 30 2018 at 17:17):

bad xml. check your xml with an editor/schema

view this post on Zulip Giorgio Cangioli (Oct 31 2018 at 13:34):

Thanks Eric,
unfortunately the xml files seems to be well formed.
What I experience is that this error appear only when i add the "version": "3.0.1", in the ig.json file using the same XML files.
I would expect to find errors related to diffs between STU3 and R4.

view this post on Zulip Grahame Grieve (Nov 09 2018 at 06:38):

indeed that's what I think of too.

view this post on Zulip Grahame Grieve (Nov 09 2018 at 06:38):

can I reproduce this?


Last updated: Apr 12 2022 at 19:14 UTC