90105: Function test xfi:tuples-in-tuple

Documentation

Tests of xfi:tuples-in-tuple($instance as element(xbrli:tuple)) as schema-element(xbrli:item)*

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 19-02-2008 at 00:00:00

Test Case Variations


V-01 Works for an instance with tuples.

Documentation

Tests that the function returns the correct facts for an instance with tuples. This instance includes nil tuples and tuples within tuples and items within tuples.

Inputs

Outputs

  • Result test: count( $result ) eq 1 and local-name( $result ) eq 't1' and namespace-uri( $result ) eq 'http://xbrl.org/formula/conformance/example' and $result/@id eq 'i2'

V-02 Works for an instance with tuples.

Documentation

Tests that the function returns the correct facts for an instance with tuples. This instance includes nil tuples and tuples within tuples and items within tuples.

Inputs

Outputs

  • Result test: count( $result ) eq 1 and local-name( $result ) eq 't1' and namespace-uri( $result ) eq 'http://xbrl.org/formula/conformance/example' and $result/@id eq 'i4'

V-03 Works for an instance with tuples.

Documentation

Tests that the function returns the correct facts for an instance with tuples. This instance includes nil tuples and tuples within tuples and items within tuples.

Inputs

Outputs

  • Result test: count( $result ) eq 0

V-04 Wrong node to function

Documentation

XBRL-defined error for node type incorrect.

Inputs

Outputs

  • Error code: xqt-err:XPTY0004

Revisions

Name On Details
Herm Fischer 30-01-2008 at 00:00:00 Created the test case.