- The XBRL Standard
- XBRL Specifications
- Registries
- Functions Registry 1.0
- Functions Registry
- xfi:relationship-to-concept
- 90509:
Function test for xfi:relationship-to-concept
Documentation
Tests of function xfi:relationship-to-concept($relationship as xfi:relationship.type) as xs:QName*
Depends on xfi:concept-relationships function in order to provide the arc for testing this function.
Owners
References
http://www.xbrl.org/Specification/XF-PWD-2006-12-07.htm#_Toc152670666
Test Case Variations
V-01
Presentation relationship arc's to-concept
Documentation
Inputs
- schema: nav-rel-test1.xsd
(DTS Discovery starting point)
(ID=V01)
-
Function Call:
xfi:relationship-to-concept(
xfi:concept-relationships(
QName('http://abc.com/test','A2'),
'http://abc.com/role/link1',
'http://www.xbrl.org/2003/arcrole/parent-child',
'descendant',
xs:nonNegativeInteger(1))
)
(against file V01)
Outputs
-
Result test:
count($result) eq 1 and
(every $r in $result satisfies $r instance of xs:QName) and
$result[1] eq QName('http://abc.com/test','A21')
Revisions
Name
|
On
|
Details
|
Herm Fischer |
12-12-2008 at 00:00:00 |
Created the test case in original form for navigate-relationships.
|
Herm Fischer |
28-10-2009 at 20:00:00 |
Adapted this test from original navigate-relationships test.
|
Andy Harris |
14-09-2010 at 12:00:00 |
Fixed issues raised by Okumura-san.
|
Herm Fischer |
22-06-2011 at 00:00:00 |
Added xmlns:xs.
|