01-15-2009 07:58 AM
Caused by: java.lang.NullPointerException
at org.chiba.xml.xforms.core.Validator.checkDatatype(Validator.java:351)
at org.chiba.xml.xforms.core.Validator.validate(Validator.java:317)
at org.chiba.xml.xforms.core.Validator.validate(Validator.java:280)
at org.chiba.xml.xforms.core.Validator.validate(Validator.java:259)
at org.chiba.xml.xforms.core.Model.revalidate(Model.java:812)
at org.chiba.xml.xforms.core.Model.performDefault(Model.java:911)
at org.chiba.xml.events.impl.DefaultXMLEventService.dispatch(DefaultXMLEventService.java:286)
at org.chiba.xml.xforms.Container.dispatch(Container.java:481)
… 64 more
if (modelItem.isXSINillable() && (value == null || value.length() == 0)) {
if (modelItem.isXSINillable() && (value == null || value.length() == 0) || isTabbed(modelItem.getNode(), value)) {
public static final String TABS_LINE_ENDING_FILTER = "^[\\t\\n\\r]+$";
public static boolean isTabbed(final Object node, final String value) {
// only for elements
if (node instanceof Element) {
if (value.matches(TABS_LINE_ENDING_FILTER)) {
return true;
}
}
return false;
}
01-30-2009 11:32 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.