ownerDocument); } /** * {@inheritdoc} */ protected function isExpressionSafe($expr) { return XPathHelper::isExpressionNumeric($expr); } /** * {@inheritdoc} */ protected function isSafe(Attribute $attribute) { return $attribute->isSafeInJS(); } }