Commit 4ac0cb56 authored by Henning Janssen's avatar Henning Janssen
Browse files

Raise Fleur file schema version to 0.36

parent 48ee7f95
......@@ -141,7 +141,7 @@ CONTAINS
filenum = 98
OPEN (fileNum, file=TRIM(ADJUSTL(filename)), form='formatted', status='replace')
WRITE (fileNum, '(a)') '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'
WRITE (fileNum, '(a)') '<fleurInput fleurInputVersion="0.35">'
WRITE (fileNum, '(a)') '<fleurInput fleurInputVersion="0.36">'
ELSE
fileNum = getXMLOutputUnitNumber()
CALL openXMLElementNoAttributes('inputData')
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="0.35">
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="0.36">
<xsd:element name="fleurInput" type="FleurInputType"/>
......@@ -20,7 +20,7 @@
<xsd:simpleType name="FleurVersionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="0.35"/>
<xsd:enumeration value="0.36"/>
</xsd:restriction>
</xsd:simpleType>
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="0.35">
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="0.36">
<!--Here the FleurInputSchema is included since the out.xml contains a complete dump of the inp.xml!-->
<xsd:include schemaLocation="FleurInputSchema.xsd"/>
......@@ -21,7 +21,7 @@
<xsd:simpleType name="FleurOutputVersionType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="0.35"/>
<xsd:enumeration value="0.36"/>
</xsd:restriction>
</xsd:simpleType>
......
......@@ -18,9 +18,12 @@ int dropInputSchema(char* version)
{
char * xsd_txt;
int xsd_len;
if (strcmp(version,"0.35")==0){
if (strcmp(version,"0.36")==0){
xsd_len=FleurInputSchema_xsd_len;
xsd_txt = FleurInputSchema_xsd;
}else if(strcmp(version,"0.35")==0){
xsd_len=FleurInputSchema0_35_xsd_len;
xsd_txt = FleurInputSchema0_35_xsd;
}else if(strcmp(version,"0.34")==0){
xsd_len=FleurInputSchema0_34_xsd_len;
xsd_txt = FleurInputSchema0_34_xsd;
......
......@@ -11,9 +11,12 @@ int dropOutputSchema(char* version)
{
char * xsd_txt;
int xsd_len;
if (strcmp(version,"0.35")==0){
if (strcmp(version,"0.36")==0){
xsd_len=FleurOutputSchema_xsd_len;
xsd_txt = FleurOutputSchema_xsd;
}else if(strcmp(version,"0.35")==0){
xsd_len=FleurOutputSchema0_35_xsd_len;
xsd_txt = FleurOutputSchema0_35_xsd;
}else if (strcmp(version,"0.34")==0){
xsd_len=FleurOutputSchema0_34_xsd_len;
xsd_txt = FleurOutputSchema0_34_xsd;
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -85,7 +85,7 @@ MODULE m_judft_xmlOutput
ENDIF
xmlOpened = .TRUE.
WRITE (xmlOutputUnit,'(a)') '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'
WRITE (xmlOutputUnit,'(a,a," ",a,a)') '<',TRIM(maintag),TRIM(maintag),'Version="0.35">'
WRITE (xmlOutputUnit,'(a,a," ",a,a)') '<',TRIM(maintag),TRIM(maintag),'Version="0.36">'
END SUBROUTINE startXMLOutput
SUBROUTINE endXMLOutput(errmsg)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment