[ https://issues.apache.org/jira/browse/JENA-1484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
A. Soroka resolved JENA-1484. ----------------------------- Resolution: Fixed Assignee: A. Soroka Fix Version/s: Jena 3.7.0 > ElementData transformation fails due to bug in ApplyElementTransformVisitor > --------------------------------------------------------------------------- > > Key: JENA-1484 > URL: https://issues.apache.org/jira/browse/JENA-1484 > Project: Apache Jena > Issue Type: Bug > Components: ARQ > Affects Versions: Jena 3.6.0 > Reporter: Claus Stadler > Assignee: A. Soroka > Priority: Major > Fix For: Jena 3.7.0 > > > Applying a NodeTransform to an ElementData has no effect due to a mistake in > org.apache.jena.sparql.syntax.syntaxtransform.ApplyElementTransformVisitor > {code:java} > // BUGGED implementation as of Jena 3.6.0: > @Override > public void visit(ElementData el) { > transform.transform(el) ; > push(el) ; > } > // should be: > @Override > public void visit(ElementData el) { > Element el2 = transform.transform(el) ; > push(el2) ; > } > // analogous to: > @Override > public void visit(ElementOptional el) { > Element elSub = pop() ; > Element el2 = transform.transform(el, elSub) ; > push(el2) ; > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)