Release new version 5.0.6
This commit is contained in:
parent
4df8b557c8
commit
a0245ca926
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -553,7 +553,16 @@ public class XmlParser extends ParserBase {
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
private void setXsiTypeIfIsTypeAttr(IXMLWriter xml, Element element) throws IOException, FHIRException {
|
||||
if (isTypeAttr(element.getProperty()) && !Utilities.noString(element.getType())) {
|
||||
String type = element.getType();
|
||||
if (Utilities.isAbsoluteUrl(type)) {
|
||||
type = type.substring(type.lastIndexOf("/")+1);
|
||||
}
|
||||
xml.attribute("xsi:type",type);
|
||||
}
|
||||
}
|
||||
|
||||
public void compose(Element e, IXMLWriter xml) throws Exception {
|
||||
xml.start();
|
||||
xml.setDefaultNamespace(e.getProperty().getXmlNamespace());
|
||||
|
@ -596,9 +605,7 @@ public class XmlParser extends ParserBase {
|
|||
xml.link(linkResolver.resolveProperty(element.getProperty()));
|
||||
xml.text(element.getValue());
|
||||
} else {
|
||||
if (isTypeAttr(element.getProperty()) && !Utilities.noString(element.getType())) {
|
||||
xml.attribute("xsi:type", element.getType());
|
||||
}
|
||||
setXsiTypeIfIsTypeAttr(xml, element);
|
||||
if (element.hasValue()) {
|
||||
if (linkResolver != null)
|
||||
xml.link(linkResolver.resolveType(element.getType()));
|
||||
|
@ -615,9 +622,7 @@ public class XmlParser extends ParserBase {
|
|||
xml.element(elementName);
|
||||
}
|
||||
} else {
|
||||
if (isTypeAttr(element.getProperty()) && !Utilities.noString(element.getType())) {
|
||||
xml.attribute("xsi:type", element.getType());
|
||||
}
|
||||
setXsiTypeIfIsTypeAttr(xml, element);
|
||||
for (Element child : element.getChildren()) {
|
||||
if (isAttr(child.getProperty())) {
|
||||
if (linkResolver != null)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<parent>
|
||||
<groupId>ca.uhn.hapi.fhir</groupId>
|
||||
<artifactId>org.hl7.fhir.core</artifactId>
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
|||
each other. It is fine to bump the point version of this POM without affecting
|
||||
HAPI FHIR.
|
||||
-->
|
||||
<version>5.0.5-SNAPSHOT</version>
|
||||
<version>5.0.6-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<hapi_fhir_version>5.0.0</hapi_fhir_version>
|
||||
|
|
|
@ -6,6 +6,11 @@ title: FHIR Validator Release Notes
|
|||
|
||||
## Current (not released yet)
|
||||
|
||||
(no changes yet)
|
||||
|
||||
## v5.0.6 (2020-06-01)
|
||||
|
||||
|
||||
(no changes yet)
|
||||
|
||||
## v5.0.5 (2020-05-30)
|
||||
|
@ -215,4 +220,4 @@ title: FHIR Validator Release Notes
|
|||
|
||||
## v4.1.60 (2020-02-02)
|
||||
|
||||
* Th
|
||||
* T
|
|
@ -1,7 +1,7 @@
|
|||
@echo off
|
||||
|
||||
set oldver=5.0.4
|
||||
set newver=5.0.5
|
||||
set oldver=5.0.5
|
||||
set newver=5.0.6
|
||||
|
||||
echo ..
|
||||
echo =========================================================================
|
||||
|
|
Loading…
Reference in New Issue