Ticket Created
over 3 years ago

CIQQA-1007

Really not very helpful, and anonymous, error message in compiler with properties.

STEPS TO REPRODUCE

Generate a properties.xml file with a number of empty values and make one of them numeric...

EG:

    <property id="other1Encode" type="number" />

Then try to compile...

ACTUAL RESULTS

Compiler fails with a not very helpful "ZERO LENGTH STRING" message that could, frankly, refer to almost anything almost anywhere... resulting in tedium, hair-pulling, frustration and eventual line-by-line analysis of previous morning's work until the error is located.

EXPECTED RESULTS

Compiler should either:

a) Give a helpful error message like "You need to specify a default value for property ID."

b) Decide that an empty string is equivalent to 0.