Pascal, Great idea. *shame* I should have thought of this idea earlier! I found the matching bug: https://issues.apache.org/jira/browse/BATIK-946. I created a patch and attached to the issue.
Regarding ICLA <http://www.apache.org/licenses/icla.txt>, I have never signed one for Apache. If necessary, please let me know and I will submit. Thanks, Arpe On Tue, Jul 30, 2013 at 2:59 PM, Pascal Sancho <psancho....@gmail.com>wrote: > Hi, > > you should check if there is a similar issue on Jira bugtracker [1], and > if not, create a new issue. > The complete list of Batik open issues is there [2]. > > [1] https://issues.apache.org/jira/ > [2] > https://issues.apache.org/jira/issues/?jql=project%20%3D%20BATIK%20AND%20resolution%20%3D%20Unresolved%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20ORDER%20BY%20priority%20DESC > > -- > Pascal > > > 2013/7/29 Kevin Connor Arpe <kevina...@gmail.com> > >> Hi, >> >> Yet another mail. >> >> Ref: >> http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/sources/org/apache/batik/transcoder/XMLAbstractTranscoder.java >> >> In method: public void transcode(TranscoderInput input, TranscoderOutput >> output) >> >> This line causes NullPointerException if the key is missing: >> boolean b = >> ((Boolean)hints.get(KEY_XML_PARSER_VALIDATING)).booleanValue(); >> >> The few lines above carefully check if various keys exist and throw >> meaningful exceptions if missing. Can you please add the same check for >> this key? >> >> Kind regards, >> Kevin Connor ARPE >> Hongkong >> > > > > -- > pascal >