← Prev in month
← Prev in thread
Conformance Tests namespaces missing in xpath tests (IIIF)
Hello I noticed that namespace declarations are missing in IIIF001 and other XPath related tests in the conformance test suite. In the xacml 2.0 specification examples, namespaces are always present for xpath expressions in both Policy and context instances. E.g., see sample context in ch. 4.2.2: ============ 1050 [a174] <ResourceContent> 1051 [a175] <md:record xmlns:md="urn:example:med:schemas:record" 1052 xsi:schemaLocation="urn:example:med:schemas:record 1053 http:www.med.example.com/schemas/record.xsd"> 1054 [a176] <md:patient> 1055 [a177] <md:patientDoB>1992-03-21</md:patientDoB> 1056 [a178] <md:patient-number>555555</md:patient-number> 1057 [a179] </md:patient> 1058 [a180] </md:record> 1059 [a181] </ResourceContent> ============ or sample policy in ch. 4.2.4.2 ========== 1266 [a269] <?xml version="1.0" encoding="UTF-8"?> 1267 [a270] <Policy 1268 [a271] xmlns="urn:oasis:names:tc:xacml:2.0:policy:schema:os" xmlns:xacml1269 context="urn:oasis:names:tc:xacml:2.0:context:schema:os" 1270 [a272] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 1271 xsi:schemaLocation="urn:oasis:names:tc:xacml:2.0:policy:schema:os 1272 http://docs.oasis-open.org/xacml/access_control-xacml-2.0-policy-schema-os.xsd" 1273 [a273] xmlns:xf="http://www.w3.org/TR/2002/WD-xquery-operators-20020816/#" 1274 [a274] xmlns:md="http:www.med.example.com/schemas/record.xsd" 1275 [a275] PolicyId="urn:oasis:names:tc:xacml:2.0:example:policyid:2" 1276 RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:deny1277 overrides"> ... 1369 [a355] <AttributeSelector 1370 [a356] RequestContextPath="//xacml-context:Resource/xacml1371 context:ResourceContent/md:record/md:parentGuardian/md:parentGuardianId/text()" 1372 [a357] DataType="http://www.w3.org/2001/XMLSchema#string"/> ============= I'm going to add namespaces to IIF001 and other XPath tests in the conformance test suite. Let me know if you have any objections. thanks Argyn
← Prev in month
← Prev in thread