Jump to content

Test/RiskData

From RiskiPedia

Test modifications to RiskData:

A minimal, properly-formed riskdata:

Test/RiskData:onebyone
a

11

Another properly-formed table:

Test/RiskData:TwoByTwo
a b

1a

1b

2a

2b

Missing table name should give an error:

RiskData Error: missing table= attribute

Missing columns attribute should give an error:

RiskData Error: missing columns= attribute

Mismatch in number of columns should give an error:

RiskData Error: Bad data row "2a|2b|2c", expecting 2 values (got 3)

RiskData Error: Bad data row "1a", expecting 2 values (got 1) Bad data row "3a|3b|3c|3d", expecting 2 values (got 4)

I've seen AI screw up like this:

Test/RiskData:extraStuffUpper
A B C

<row>1a

1b

1c</row>

2a

2b

2c

3a

3b

3c

<row>4a

4b

4c</row>