Closed shankarpatali-stla closed 3 weeks ago
I wouldn't classify this as a bug. Yes, "XML documents SHOULD begin with a declaration" but only "XML 1.1 documents MUST begin with a declaration"
OK, I think we should fiy this. Start an export with xml declaration.
fixed
Describe the bug OpenScenarioXmlExporter::CreateXmlDocument does not add XML declaration. XML declaration is typically the first line in the file. For example,
<?xml version="1.0" encoding="utf-8"?>
.To Reproduce Steps to reproduce the behavior:
std::shared_ptr<IOpenScenarioWriter>
Sample code:
Expected behavior XML Declaration is present the XML document returned by CreateXmlDocument function.
Screenshots None
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.