From 1c98b06189724233f20ba89092386585037169ac Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 3 Apr 2024 20:12:28 +1100 Subject: [PATCH] handle xhtml:div type for old FHIR version --- .../src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java index 7d7f1ce4b..26f0748d6 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/ElementDefinition.java @@ -2628,6 +2628,8 @@ public boolean hasTarget() { return "unsignedInt"; if ("xsd:anyURI".equalsIgnoreCase(s)) return "uri"; + if ("xhtml:div".equalsIgnoreCase(s)) + return "xhtml"; throw new Error("Unknown xml type '"+s+"'"); }