--- libs/lensfun/database.cpp | 1 + tools/ptlensconv/ptlensconv.py | 1 + 2 files changed, 2 insertions(+)
diff --git a/libs/lensfun/database.cpp b/libs/lensfun/database.cpp index 073ee87..6318662 100644 --- a/libs/lensfun/database.cpp +++ b/libs/lensfun/database.cpp @@ -861,6 +861,7 @@ char *lfDatabase::Save (const lfMount *const *mounts, int i, j; GString *output = g_string_sized_new (1024); + g_string_append (output, "<!DOCTYPE lensdatabase SYSTEM \"lensfun-database.dtd\">\n"); g_string_append (output, "<lensdatabase>\n\n"); if (mounts) diff --git a/tools/ptlensconv/ptlensconv.py b/tools/ptlensconv/ptlensconv.py index 62ab1d5..1347fd6 100755 --- a/tools/ptlensconv/ptlensconv.py +++ b/tools/ptlensconv/ptlensconv.py @@ -127,6 +127,7 @@ def ParseLens (lines): def WriteOut (ofn): global Mounts, Cameras, Lenses fw = open (ofn, "w") + fw.write ("<!DOCTYPE lensdatabase SYSTEM \"lensfun-database.dtd\">\n\n") fw.write ("<lensdatabase>\n\n") for c in Mounts: -- 2.7.0 ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Lensfun-users mailing list Lensfun-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lensfun-users