JSON XML response writer issues with short binary fields

2012-01-13 Thread Ken Krugler
I finally got around to looking at why short field values are returned as java.lang.Short:value. Both XMLWriter.writeVal() and TextResponseWriter.writeVal() are missing the check for (val instanceof Short), and thus this bit of code is used: // default... for debugging only

Re: JSON XML response writer issues with short binary fields

2012-01-13 Thread Yonik Seeley
On Fri, Jan 13, 2012 at 4:04 PM, Ken Krugler kkrugler_li...@transpac.com wrote: I finally got around to looking at why short field values are returned as java.lang.Short:value. Both XMLWriter.writeVal() and TextResponseWriter.writeVal() are missing the check for (val instanceof Short), and

Re: JSON XML response writer issues with short binary fields

2012-01-13 Thread Yonik Seeley
-Yonik http://www.lucidimagination.com On Fri, Jan 13, 2012 at 4:22 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Fri, Jan 13, 2012 at 4:04 PM, Ken Krugler kkrugler_li...@transpac.com wrote: I finally got around to looking at why short field values are returned as

Re: JSON XML response writer issues with short binary fields

2012-01-13 Thread Ken Krugler
On Jan 13, 2012, at 1:39pm, Yonik Seeley wrote: -Yonik http://www.lucidimagination.com On Fri, Jan 13, 2012 at 4:22 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Fri, Jan 13, 2012 at 4:04 PM, Ken Krugler kkrugler_li...@transpac.com wrote: I finally got around to looking at