# 525-08 : Inline XBRL Test Suite v66d : Relationship tests, Not EDGAR Dependent

Created by: SEC Office of Structured Disclosure

## Various "good" (gd) and "not good" (ng) test files that demonstrate non-valid Inline XBRL Relationship usage

## Variations

Number | Name | Description | References | Data Inputs | Result Outputs
--- | --- | --- | --- | --- | ---
- _001gd | Valid Relationship test cases, GOOD | The ix:relationship element is used to define relationships between XBRL facts or between XBRL facts and footnote resources. | For each token in the {from} property there MUST NOT exist a token in the {to} property which has a matching value. |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
Instance i08001gd/i08001gd-20081231.htm ReadMeFirst Linkbase i08001gd/i08001gd-20081231_pre.xml Linkbase i08001gd/i08001gd-20081231_lab.xml Schema i08001gd/i08001gd-20081231.xsd | valid
- _002gd | two relationships among five facts, GOOD | PASS-explanatory-fact with arcroleRef |  |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
Instance i08002gd/i08002gd-20081231.htm ReadMeFirst Linkbase i08002gd/i08002gd-20081231_pre.xml Linkbase i08002gd/i08002gd-20081231_lab.xml Schema i08002gd/i08002gd-20081231.xsd | valid
- _100ng | Relationship mixes both footnote and explanatory fact, NOGOOD | FAIL-relationship-mixes-footnote-with-explanatory-fact | If any element in the {references} property is an ix:footnote element, then all the elements in the {references} property MUST be ix:footnote elements. |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
- Instance i08100ng/i08100ng-20081231.htm ReadMeFirst Linkbase i08100ng/i08100ng-20081231_pre.xml Linkbase i08100ng/i08100ng-20081231_lab.xml Schema i08100ng/i08100ng-20081231.xsd |
  Assertion
  ID: err, 99999, ix11.13.1.2:relationshipReferencesMixed
  FRD: | ix
  Count satisfied | 0
  Count not satisfied | 1
- _101ng | Relationship with a meaningless attribute, NOGOOD | FAIL-relationship-with-no-namespace-attribute | The ix:relationship element MUST NOT have any attribute with a namespace name which has the value http://www.w3.org/XML/1998/namespace |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
- Instance i08101ng/i08101ng-20081231.htm ReadMeFirst Linkbase i08101ng/i08101ng-20081231_pre.xml Linkbase i08101ng/i08101ng-20081231_lab.xml Schema i08101ng/i08101ng-20081231.xsd |
  Assertion
  ID: err, 99999, html:syntaxError
  FRD: | ix
  Count satisfied | 0
  Count not satisfied | 1
- _102ng | Self-cycle relationship, NOGOOD | FAIL-relationship-cross-duplication | For each token in the {from} property there MUST NOT exist a token in the {to} property which has a matching value. |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
- Instance i08102ng/i08102ng-20081231.htm ReadMeFirst Linkbase i08102ng/i08102ng-20081231_pre.xml Linkbase i08102ng/i08102ng-20081231_lab.xml Schema i08102ng/i08102ng-20081231.xsd |
  Assertion
  ID: err, 99999, xbrl.5.1.4.3:cycles
  FRD: | ix
  Count satisfied | 0
  Count not satisfied | 1
- _103ng | relationship element with spurious i:period, NOGOOD | FAIL-relationship-with-xbrli-attribute | The ix:relationship element MUST NOT have any attributes with a namespace name which has a value of http://www.xbrl.org/2003/instance. |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
- Instance i08103ng/i08103ng-20081231.htm ReadMeFirst Linkbase i08103ng/i08103ng-20081231_pre.xml Linkbase i08103ng/i08103ng-20081231_lab.xml Schema i08103ng/i08103ng-20081231.xsd |
  Assertion
  ID: err, 99999, html:syntaxError
  FRD: | ix
  Count satisfied | 0
  Count not satisfied | 1
- _104ng | ix:relationship with spurious xlink:arc attribute, NOGOOD | FAIL-relationship-with-xlink-attribute | The ix:relationship element does not allow additional attributes without a namespace name which has the value http://www.w3.org/XML/1998/namespace |
  Parameter
  Name | ELOparams
  Type |
  Value | { "periodOfReport" : "12-31-2008", "emergingGrowthCompanyFlag" : false, "submissionType" : "8-K" }
- Instance i08104ng/i08104ng-20081231.htm ReadMeFirst Linkbase i08104ng/i08104ng-20081231_pre.xml Linkbase i08104ng/i08104ng-20081231_lab.xml Schema i08104ng/i08104ng-20081231.xsd |
  Assertion
  ID: err, 99999, html:syntaxError
  FRD: | ix
  Count satisfied | 0
  Count not satisfied | 1