From: Andrea A. <and...@ge...> - 2013-03-24 18:35:44
|
On Sun, Mar 24, 2013 at 4:43 PM, Mantas Indrašius <ma...@in...> wrote: > I have tracked the suspicious condition in the ExpressionDOMParser (line > 211-215, version 9.0) that ignores any CDATA whitespace > > if (kid.getNodeValue().trim().length() == 0) { > LOGGER.finest("empty text element"); > > continue; > } Hum, it is suspicious indeed, but one needs to be careful, as an element that only contains whitespace without the CDATA should be probably skipped. Patches welcomed (with tests). Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |