Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 3.6.0
-
None
Description
Applying a NodeTransform to an ElementData has no effect due to a mistake in
org.apache.jena.sparql.syntax.syntaxtransform.ApplyElementTransformVisitor
// 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) ; }
Attachments
Issue Links
- links to