I5:FeatureTest-Selector Preserves Not-Understood Elements from .crds File

From OSIS Open Source Identity Systems
Jump to: navigation, search

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FeatureTest-Selector Preserves Not-Understood Elements from .crds File}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:Selector Preserves Not-Understood Elements from .crds File|{{#if:{{#var:DtArticleSortKey}}||}}}}{{#ifeq:{{#var:header}}|no||

{{#ifeq:no|no||
{{#if:{{#var:refs}}|[[{{#var:page}}|no_ref's]]|[[Special:Call/DT Article show Refs,page={{#var:page}},refs=yes|ref's]]}}}} {{#if:{{#var:DtArticleSortKey}}|({{#var:DtArticleSortKey}})}}    list help  [[Special:Call/DT Article copy,cat=FeatureTest,from={{#var:page}},namespace=I5|copy]]  [[Special:Call/DT Articles list XML,type=FeatureTest,title={{#var:page}},namespace=I5|as XML]]  edit
}}
{{#if:|Feature Test |Feature Test }}   Selector Preserves Not-Understood Elements from .crds File
Test Type   bgcolor={{{color}}}}}|Card Usage
Identifier   bgcolor={{{color}}}}}|FTR-iis-cardmgmt-12  
Description   bgcolor={{{color}}}}}|Tests that selector preserves not-understood XML elements from .crds files, including them when the cards containing them are exported  
Role tested   bgcolor={{{color}}}}}|Information Card Identity Selector  
Known Successful Reference Solution(s)   bgcolor={{{color}}}}}|{{ #if: |
[[I5:]]}}{{ #if: |
[[I5:]]}} {{ #if: |
}} {{ #if: |
}}  
Success Criteria   bgcolor={{{color}}}}}|The card is succefully created and works  
Failure Criteria   bgcolor={{{color}}}}}|Not-understood elements cause the card creation to fail  

Features Proven

{{#dpl:debug=1

 |resultsheader=\n
 |noresultsheader= {|\n|bgcolor=#eeeeee|No matching Feature found.\n|}\n
 |category=Feature
 |namespace=I5
 |linksto=I5:FeatureTest-Selector Preserves Not-Understood Elements from .crds File
 |nottitlematch = Feature.edit
 |include={Feature}.viewfromtest
 |includematch=/FeatureTest-Selector Preserves Not-Understood Elements from .crds File/s
 |table=class=sortable,-,Feature,feature_type,solution_role

}}

Instructions

  1. Open the result page for your solution and for this test.
  2. Import the card in the .crds file at http://osis.idcommons.net/wiki/Image:UnknownElementCard.crds into the Selector being tested using the password "password".
  3. Export the "UnknownElement" card to a .crds file.
  4. View the decrypted contents of the .crds file using the tool at http://xmldap.org/sts/decrypt .
  5. Verify that this XML element is present in the .crds file: <unknownElement xmlns="http://unknown"><donNotknowThisOneEither /><norThis /></unknownElement>
  6. Set outcome:
    1. If the success criteria was met, set the outcome to "Works".
    2. If the test failed, set the outcome to "Failed" and enter information about the failure in the Notes section.
    3. If other issues occurred set the result to "Issues" and describe them in the Notes section.
  7. Add either four tilde ~~~~ signs or a text name into the "Tested by" parameter.
  8. Update the Date Tested, Browser, and Operating System lines of the results page.