Skip to content

Commit

Permalink
Merge 47467fb into 4a49875
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Mar 14, 2019
2 parents 4a49875 + 47467fb commit c9d4c3d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/support/COMBINESupport/src/combinearchive.cpp
Expand Up @@ -295,7 +295,7 @@ bool CombineArchive::save(const QString &pFileName)
ZIPSupport::QZipWriter zipWriter(pFileName.isEmpty()?mFileName:pFileName);

zipWriter.addFile(ManifestFileName,
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n"
"<?xml version='1.0' encoding='UTF-8' standalone='yes'?>\n"
"<omexManifest xmlns=\"http://identifiers.org/combine.specifications/omex-manifest\">\n"
" <content location=\".\" format=\""+OmexFormat.toUtf8()+"\"/>\n"
+fileList
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/support/COMBINESupport/tests/data/manifest.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<omexManifest xmlns="http://identifiers.org/combine.specifications/omex-manifest">
<content location="." format="http://identifiers.org/combine.specifications/omex"/>
<content location="dir01/file01.txt" format="http://identifiers.org/combine.specifications/cellml" master="true"/>
Expand Down
Expand Up @@ -254,7 +254,7 @@ void CellMLSupportPlugin::newCellmlFile()
Core::FileManager::Status createStatus =
#endif
fileManagerInstance->create(QString(),
QString("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
QString("<?xml version='1.0' encoding='UTF-8'?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/%1#\" name=\"my_model\">\n"
" <!-- Your code goes here-->\n"
"</model>\n").arg(CellmlRefVersion));
Expand Down
Expand Up @@ -253,7 +253,7 @@ void SEDMLSupportPlugin::newSedmlFile()
Core::FileManager::Status createStatus =
#endif
fileManagerInstance->create(QString(),
QString("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
QString("<?xml version='1.0' encoding='UTF-8'?>\n"
"<sedML xmlns=\"http://sed-ml.org/sed-ml/level1/version2\" level=\"1\" version=\"2\">\n"
" <!-- Your code goes here-->\n"
"</sedML>\n"));
Expand Down

0 comments on commit c9d4c3d

Please sign in to comment.