public LSInputList createLSInputList(LSInput[] values) { int length = (values != null) ? values.length : 0; return (length != 0) ? new LSInputListImpl((LSInput[]) values.clone(), length) : LSInputListImpl.EMPTY_LIST; }
xsLoader.getConfig().setParameter(Constants.DOM_VALIDATE, Boolean.TRUE); xsModel = xsLoader.loadInputList(new LSInputListImpl(uris, uris.length)); if (xsModel == null) { throw new RuntimeException("Couldn't load XMLSchema from " + Arrays.asList(uris));