Skip to content

Commit 7f58927

Browse files
committed
fn:transform - resolve TODO as nothing to do
1 parent 7647cfc commit 7f58927

File tree

1 file changed

+0
-6
lines changed
  • exist-core/src/main/java/org/exist/xquery/functions/fn/transform

1 file changed

+0
-6
lines changed

exist-core/src/main/java/org/exist/xquery/functions/fn/transform/Options.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,6 @@ private Delivery.Format getDeliveryFormat(final float xsltVersion, final MapType
215215
throw new XPathException(fnTransform, ErrorCodes.FOXT0002,
216216
": \"" + string + "\" is not a valid " + Options.DELIVERY_FORMAT.name);
217217
}
218-
/* TODO (AP) it's unclear (spec vs XQTS) if this is meant to happen, or not ??
219-
if (deliveryFormat == DeliveryFormat.RAW && xsltVersion < 3.0f) {
220-
throw new XPathException(FnTransform.this, ErrorCodes.FOXT0002, "Supplied " + FnTransform.DELIVERY_FORMAT.name +
221-
" is not valid when using XSLT version " + xsltVersion);
222-
}
223-
*/
224218
return deliveryFormat;
225219
}
226220

0 commit comments

Comments
 (0)