PolicyReader is not namespace-aware
Brought to you by:
farrukh_najmi,
sethp
<?xml version="1.0" encoding="UTF-8"?>
<xacml:Policy
xmlns:xacml="urn:oasis:names:tc:xacml:2.0:policy:schema:cd:04"
PolicyId="urn:rillig:xacml:policy:allowall"
RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:permit-overrides">
<xacml:Target>
</xacml:Target>
<xacml:Rule Effect="Permit" RuleId="urn:rillig:xacml:policy:allowall:r1" />
</xacml:Policy>
Shouldn't this document be read in correctly, instead of resulting in an error message?
com.sun.xacml.ParsingException: Unknown root document type: xacml:Policy
Fixed in changeset: 258:7769a7610f8c