Community
Participate
Working Groups
Currently we swallow any errors when converting from XML strings to numbers, dates, etc and just return null. See methods in UnmarshalContentHandler, e.g. protected Integer toInteger(String string) { if (string == null) { return null; } string = string.trim(); if (string.length() == 0) { return null; } try { return Integer.parseInt(string); } catch (NumberFormatException e) { // fail soft return null; } } We need to log these with proper context (parsed document url, node id, attribute ...) - ideally just once per Eclipse session and unique error