Page 1 of 1

Request to change Sytem.out in XmlUtils to log.info

PostPosted: Tue Nov 20, 2012 8:30 am
by hpeng
I am sorry, just realized they are already fixed in 2.8.1. Thanks a lot for your nice work and sorry for not checking first.

Hua.

==========
Dear Jason,

I am wondering if the following three lines in XmlUtils.java

Code: Select all
System.out.println(System.getProperty("java.vendor"));
System.out.println(System.getProperty("java.version"));

System.out.println("Warning: Xalan jar missing from classpath; xslt not supported");


can be changed to use log.info and log.warn? I am writing a stand alone application using docx4j, and getting output of java vendor and version in the console.

I would be more than happy to do it and submit the code if that's ok.

Thanks for your nice work.

Hua