[ https://issues.apache.org/jira/browse/ODE-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544025#comment-14544025 ]
Vitaliy Tkachenko commented on ODE-1032: ---------------------------------------- To fix the issue with the LSInputList in the SchemaModelImpl.java (compilation problem) I've applied the following code change: LSInputList list = new LSInputList() { public LSInput item(int index) { DOMInputImpl input = new DOMInputImpl(); input.setSystemId(uris[index]); input.setByteStream(new ByteArrayInputStream(content[index])); return input; } public int getLength() { return uris.length; } }; Changed to: LSInput[] inputs = new LSInput[uris.length]; for (int index = 0; index < uris.length; index++) { DOMInputImpl input = new DOMInputImpl(); input.setSystemId(uris[index]); input.setByteStream(new ByteArrayInputStream(content[index])); inputs[index] = input; } LSInputList list = new LSInputListImpl(inputs, inputs.length); > Update xerces to the latest 2.11.0 version > ------------------------------------------ > > Key: ODE-1032 > URL: https://issues.apache.org/jira/browse/ODE-1032 > Project: ODE > Issue Type: Wish > Affects Versions: 1.3.6 > Reporter: Igor Vorobiov > Priority: Minor > > It would be good to update xerces version to the latest 2.11.0. > I found one place where compilation error appears after updating: > {code} > org.apache.ode.utils.xsd.SchemaModelImpl.newModel(Map<URI, byte[]>) { > ... > LSInputList list = new LSInputList() { ... > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)