Author: martinf
Date: Tue Aug 1 13:23:41 2006
New Revision: 23403
URL:
http://svn.reactos.org/svn/reactos?rev=23403&view=rev
Log:
fix output of XML document types
Modified:
trunk/reactos/base/applications/ibrowser/utility/xmlstorage.cpp
trunk/reactos/base/shell/explorer/utility/xmlstorage.cpp
Modified: trunk/reactos/base/applications/ibrowser/utility/xmlstorage.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/ibrowser…
==============================================================================
--- trunk/reactos/base/applications/ibrowser/utility/xmlstorage.cpp (original)
+++ trunk/reactos/base/applications/ibrowser/utility/xmlstorage.cpp Tue Aug 1 13:23:41
2006
@@ -610,14 +610,14 @@
out << "<!DOCTYPE " << _doctype._name;
if (!_doctype._public.empty()) {
- out << " PUBLIC " << _doctype._public;
+ out << " PUBLIC \"" << _doctype._public <<
'"';
if (lf)
out << _endl;
- out << " " << _doctype._system;
+ out << " \"" << _doctype._system <<
'"';
} else if (!_doctype._system.empty())
- out << " SYSTEM " << _doctype._system;
+ out << " SYSTEM \"" << _doctype._system <<
'"';
out << "?>";
Modified: trunk/reactos/base/shell/explorer/utility/xmlstorage.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/utilit…
==============================================================================
--- trunk/reactos/base/shell/explorer/utility/xmlstorage.cpp (original)
+++ trunk/reactos/base/shell/explorer/utility/xmlstorage.cpp Tue Aug 1 13:23:41 2006
@@ -610,14 +610,14 @@
out << "<!DOCTYPE " << _doctype._name;
if (!_doctype._public.empty()) {
- out << " PUBLIC " << _doctype._public;
+ out << " PUBLIC \"" << _doctype._public <<
'"';
if (lf)
out << _endl;
- out << " " << _doctype._system;
+ out << " \"" << _doctype._system <<
'"';
} else if (!_doctype._system.empty())
- out << " SYSTEM " << _doctype._system;
+ out << " SYSTEM \"" << _doctype._system <<
'"';
out << "?>";