throw new IllegalAttributeValueException(
Messages.formatMessage("bad.uri",
new Object[] {uriString}));
}
// Now use the bridge to create the Clip
Bridge bridge = ctx.getBridge(clipPathElement);
if (bridge == null || !(bridge instanceof ClipBridge)) {
throw new IllegalAttributeValueException(
Messages.formatMessage("clipPath.reference.illegal",
new Object[] {clipPathElement.getLocalName()}));
}