[Libreoffice-commits] .: scratch/formatxml.cpp

Lubos Lunak llunak at kemper.freedesktop.org
Tue Dec 21 11:20:43 PST 2010


 scratch/formatxml.cpp |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7142efceb27ffed97ba2f1e7b9f32e8127bc0d35
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Dec 21 20:20:25 2010 +0100

    actually it's not plain reformat, comments about problems may be added

diff --git a/scratch/formatxml.cpp b/scratch/formatxml.cpp
index d0c5f51..d514d94 100644
--- a/scratch/formatxml.cpp
+++ b/scratch/formatxml.cpp
@@ -29,6 +29,9 @@ Unlike 'xmllint --format', this works even if the XML is corrupt, and unlike
 xmllint's --recover it does not alter the XML itself in any way (or at least
 tries not to, complain if there's a problem).
 
+If there are problems with the XML, there is also a comment inserted in the output
+file that warns about it (so that the problem is easy to spot).
+
 To compile (libQtCore from Qt4 is required, $QTDIR is the location, usually /usr):
 g++ -Wall -I$QTDIR/include/QtCore -I$QTDIR/include formatxml.cpp -lQtCore -L$QTDIR/lib -o formatxml
 


More information about the Libreoffice-commits mailing list