Page 1 of 1

[3.0.1] - log - System.out

PostPosted: Thu Feb 20, 2014 2:57 am
by marcel_cap
Hello,

I've just test the new release. [3.0.1]
And I have notice that I have a very long log.

I think there you forgot to delete a system.out ....

Code: Select all
         if (source instanceof MainDocumentPart) {
            System.out.println("source: " + ((JaxbXmlPart)source).getXML());
            System.out.println("destination: " + ((JaxbXmlPart)destination).getXML());
         }


As a result in log (WARN level)
Code: Select all
source: <w:document xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:ns21="urn:schemas-microsoft-com:office:powerpoint" xmlns:ns23="http://schemas.microsoft.com/office/2006/coverPageProps" xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:odx="http://opendope.org/xpaths" xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy" xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram" xmlns:ns17="urn:schemas-microsoft-com:office:excel" xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart" xmlns:odi="http://opendope.org/components" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:ns32="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture" xmlns:ns30="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:ns12="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" xmlns:ns31="http://schemas.openxmlformats.org/drawingml/2006/compatibility" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:odq="http://opendope.org/questions" xmlns:ns8="http://schemas.openxmlformats.org/schemaLibrary/2006/main" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" xmlns:odc="http://opendope.org/conditions" xmlns:oda="http://opendope.org/answers">
    <w:body>
        <w:p w:rsidR="00107918" w:rsidP="00107918" w:rsidRDefault="00EB763F">
            <w:pPr>
                <w:jc w:val="right"/>
            </w:pPr>
            <w:r>
                <w:t xml:space="preserve">Le </w:t>
            </w:r>
            <w:sdt>
                <w:sdtPr>
                    <w:rPr>
                        <w:highlight w:val="yellow"/>
                    </w:rPr>
                    <w:tag w



When I look into the code I see;

Commit info :
commit 5faf97f9b6eda874f7254709eb0334d3d8599b3c
Author: Jason Harrop <jason@plutext.org> 2014-02-06 02:52:23
Committer: Jason Harrop <jason@plutext.org> 2014-02-06 02:52:23
Parent: 83934b7913483413caf26fb109b01550750d8c55 (PDF output: Make sure the font mapper is retained in the temp docx)
Branches: origin/master

misc minor

Thanks,

Re: [3.0.1] - log - System.out

PostPosted: Thu Feb 20, 2014 3:03 am
by marcel_cap

Re: [3.0.1] - log - System.out

PostPosted: Thu Feb 20, 2014 6:59 pm
by jason
Sorry about that. Fixed/closed.

Re: [3.0.1] - log - System.out

PostPosted: Thu Mar 13, 2014 3:09 am
by marcel_cap
I see that you've fixed it.
Isn't it possible to fixe it on 3.0.1 version (or create a new tag 3.0.2) ?