Skip to content

Commit 0ce70dc

Browse files
committed
disable XML annotations for fmi3
1 parent ca6ef3c commit 0ce70dc

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

export/src/fmu4cpp/fmu_base.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,14 @@ namespace fmu4cpp {
335335
<< "\t</CoSimulation>"
336336
<< "\n";
337337

338-
if (!m.vendorAnnotations.empty()) {
339-
ss << "\t<VendorAnnotations>\n";
340-
for (const auto &annotation: m.vendorAnnotations) {
341-
std::string indentedAnnotation = indent_multiline_string(annotation, 3);
342-
ss << indentedAnnotation << "\n";
343-
}
344-
ss << "\t</VendorAnnotations>\n";
345-
}
338+
// if (!m.vendorAnnotations.empty()) {
339+
// ss << "\t<Annotations>\n";
340+
// for (const auto &annotation: m.vendorAnnotations) {
341+
// std::string indentedAnnotation = indent_multiline_string(annotation, 3);
342+
// ss << indentedAnnotation << "\n";
343+
// }
344+
// ss << "\t</Annotations>\n";
345+
// }
346346

347347
ss << "\t<ModelVariables>\n";
348348

@@ -413,14 +413,14 @@ namespace fmu4cpp {
413413
ss << "/>\n";
414414
}
415415

416-
if (!annotations.empty()) {
417-
ss << "\t\t\t<Annotations>\n";
418-
for (const auto &annotation: annotations) {
419-
std::string indentedAnnotation = indent_multiline_string(annotation, 4);
420-
ss << indentedAnnotation << "\n";
421-
}
422-
ss << "\t\t\t</Annotations>\n";
423-
}
416+
// if (!annotations.empty()) {
417+
// ss << "\t\t\t<Annotations>\n";
418+
// for (const auto &annotation: annotations) {
419+
// std::string indentedAnnotation = indent_multiline_string(annotation, 4);
420+
// ss << indentedAnnotation << "\n";
421+
// }
422+
// ss << "\t\t\t</Annotations>\n";
423+
// }
424424
}
425425

426426
ss << "\t</ModelVariables>\n";

0 commit comments

Comments
 (0)