Open raducoravu opened 2 years ago
The issue with values like "1.0" and "1." is the decimal point, and not the digits after it. The error message for "1." says that an integer is required, but because the error message does not say anything about value space vs lexical space, a user might not understand that it is the lexical expression (specifically, the decimal point) that raises the error here.
In both cases a more helpful error message might be that xsd:integer values cannot include a decimal point.
Started based on a discussion on the Oxygen XML Users List which contains more details: https://www.oxygenxml.com/pipermail/oxygen-user/2022-September/006869.html
You have this XML:
and this RNC file:
The validation message for this case states:
but there are no significant digits after the decimal point.