lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master dc9c374a 1/5: Restore XML prolog


From: Greg Chicares
Subject: [lmi-commits] [lmi] master dc9c374a 1/5: Restore XML prolog
Date: Thu, 27 Jan 2022 15:26:07 -0500 (EST)

branch: master
commit dc9c374ada323adf83adddf1c079416d0809d665
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Restore XML prolog
    
    Commit 982321d3cd8d2 of 20220107T1417Z inadvertently suppressed an XML
    prolog. As clarified in a changed comment, the intention was to test
    a missing <configurable_settings version=""> attribute--not a missing
    <?xml version=""?> version. This mistake introduced no frank defect
    because the XML (version 1.0) prolog is optional.
---
 configurable_settings_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configurable_settings_test.cpp b/configurable_settings_test.cpp
index 1cb6c110..c726156b 100644
--- a/configurable_settings_test.cpp
+++ b/configurable_settings_test.cpp
@@ -79,7 +79,7 @@ void configurable_settings_test::test_backward_compatibility()
     fs::path const filename("eraseme");
     fs::ofstream ofs(filename, ios_out_trunc_binary());
     ofs
-//      << "<?xml version=\"1.0\"?>\n"
+        << "<?xml version=\"1.0\"?>\n"
         << "<configurable_settings>\n"
         << "<custom_input_filename>[renamed]</custom_input_filename>\n"
         << "<custom_output_filename>[renamed]</custom_output_filename>\n"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]