90313: xfi:fact-typed-dimension-simple-value
Documentation
Owners
Name | Affiliation | Start | End | |
---|---|---|---|---|
Herm Fischer |
|
fischer@markv.com | 01-08-2020 at 12:00:00 | |
Paul Hulst |
|
P.J.Hulst@dnb.nl | 01-08-2020 at 12:00:00 | |
Harald Schmitt |
|
harald.schmitt@abz-reporting.com | 25-01-2021 at 12:00:00 |
References
Test Case Variations
V-01
Height dimension for Mount Kilimanjaro
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V01)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Kilimanjaro'], QName('http://xbrl.org/formula/conformance/example','t:HeightDimension') )
(against file V01)
Outputs
-
Result test:
count( $result ) eq 1 and $result instance of xs:integer and $result eq xs:integer(5963)
V-02
Height dimension for pre-eruption volcano (whose hypercube lacks the location dimension because the volcano is not erupted
yet, but it has alternate link roles allowing height to be added later after erupting)
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V02)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:Peak[./text() eq 'Pre-eruption volcano'], QName('http://xbrl.org/formula/conformance/example','t:HeightDimension') )
(against file V02)
Outputs
-
Result test:
empty( $result )
V-03
Height dimension for SpacePhenomenon concept Wormhole (whose hypercube for space warping can never have the height dimension)
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V03)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:SpacePhenomenon[1], QName('http://xbrl.org/formula/conformance/example','t:HeightDimension') )
(against file V03)
Outputs
-
Result test:
empty( $result )
V-04
Error of concept argument which is not a dimension
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V04)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Kilimanjaro'], QName('http://xbrl.org/formula/conformance/example','t:Mars') )
(against file V04)
Outputs
- Error code: xfie:invalidTypedDimensionQName
V-05
Error of non-XBRL element argument as dimension argument
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V05)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Kilimanjaro'], QName('http://xbrl.org/formula/conformance/example','t:nonXbrlElement') )
(against file V05)
Outputs
- Error code: xfie:invalidTypedDimensionQName
V-06
Raises an error for an attribute declaration argument
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V06)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Kilimanjaro'], QName('http://xbrl.org/formula/conformance/example','t:anAttribute') )
(against file V06)
Outputs
- Error code: xfie:invalidTypedDimensionQName
V-07
Raises an error for an xbrli namespace'ed argument
Documentation
Inputs
- schema: fact-explicit-dimension-value.xsd
- linkbase: fact-explicit-dimension-value-definition.xml
- instance: fact-explicit-dimension-value-instance1.xml (DTS Discovery starting point) (ID=V07)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:Peak[./text() eq 'Mount Kilimanjaro'], QName('http://xbrl.org/formula/conformance/example','xbrli:item') )
(against file V07)
Outputs
- Error code: xfie:invalidTypedDimensionQName
V-08
Dimension can be located in either segment or scenario, for this variation appears in the segment, to test that function is
looking in either location for value.
Documentation
Inputs
- schema: bi-locational-dim-concepts.xsd
- linkbase: bi-locational-dim-definition.xml
- instance: bi-locational-seg-typed-instance.xml (DTS Discovery starting point) (ID=V08)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:PriItem1[1], QName('http://xbrl.org/formula/conformance/example','t:TypedDim1') )
(against file V08)
Outputs
-
Result test:
count( $result ) eq 1 and $result instance of xs:string and $result eq 'dimVal1'
V-09
Dimension can be located in either segment or scenario but for this variation appears in the scenario instead of segment,
to test that function is looking in either location for value.
Documentation
Inputs
- schema: bi-locational-dim-concepts.xsd
- linkbase: bi-locational-dim-definition.xml
- instance: bi-locational-scen-typed-instance.xml (DTS Discovery starting point) (ID=V09)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:PriItem1[1], QName('http://xbrl.org/formula/conformance/example','t:TypedDim1') )
(against file V09)
Outputs
-
Result test:
count( $result ) eq 1 and $result instance of xs:string and $result eq 'dimVal1'
V-10
No error for a typed domain with complex type simple content
Documentation
Inputs
- schema: complex-dim-concepts.xsd
- linkbase: complex-dim-definition.xml
- instance: complex-scen-typed-instance.xml (DTS Discovery starting point) (ID=V10)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:PriItem1, QName('http://xbrl.org/formula/conformance/example','t:TypedDim1') )
(against file V10)
Outputs
-
Result test:
count( $result ) eq 1 and $result instance of xs:string and $result eq 'dimValWithAttribute'
V-11
Raises an error for a typed domain with complex type complex content
Documentation
Inputs
- schema: complex-dim-concepts.xsd
- linkbase: complex-dim-definition.xml
- instance: complex-scen-typed-instance.xml (DTS Discovery starting point) (ID=V11)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:PriItem2[1], QName('http://xbrl.org/formula/conformance/example','t:TypedDim2') )
(against file V11)
Outputs
- Error code: xqt-err:FOTY0012
V-12
No error for a typed domain with nil complex type complex content
Documentation
Inputs
- schema: complex-dim-concepts.xsd
- linkbase: complex-dim-definition.xml
- instance: complex-scen-typed-instance.xml (DTS Discovery starting point) (ID=V12)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:PriItem2[2], QName('http://xbrl.org/formula/conformance/example','t:TypedDim2') )
(against file V12)
Outputs
-
Result test:
empty( $result )
V-13
No error for a typed domain with empty complex type complex content
Documentation
Inputs
- schema: complex-dim-concepts.xsd
- linkbase: complex-dim-definition.xml
- instance: complex-scen-typed-instance.xml (DTS Discovery starting point) (ID=V13)
-
Function Call:
xfi:fact-typed-dimension-simple-value( /xbrli:xbrl/t:PriItem2[3], QName('http://xbrl.org/formula/conformance/example','t:TypedDim2') )
(against file V13)
Outputs
-
Result test:
empty( $result )
Revisions
Name | On | Details |
---|---|---|
Herm Fischer | 01-08-2020 at 12:00:00 |
|
Harald Schmitt | 25-01-2021 at 12:00:00 |
|