public Document removePrefixes(final Document document) { removePrefixes(document.getDocumentElement()); return document; }
public Element evaluate(final Element request) { Element requestWithoutDefaultNS = new XMLPrefixRemover().removePrefixes(request); try { RequestCtx requestCtx = RequestCtx.getInstance(requestWithoutDefaultNS); ResponseCtx response = getPdp().evaluate(requestCtx); return toElement(response); } catch (ParsingException e) { throw new DecisionProcessingException(e); } }
policySetElement = new XMLPrefixRemover().removePrefixes(policySetElement); try { PolicySet policySet = PolicySet.getInstance(policySetElement);