-
Notifications
You must be signed in to change notification settings - Fork 1
Description
In bringing the CAPS Grade 10 up to speed I have found a few issues with the validator.
The case that doesn't validate is when one (or all) of the values is replaced with a variable. This occurs in instances where partial information is given and a variable is used as the placeholder.
For example, the mass number and atomic number might be given and the symbol might be 'X' with the question: "Which element is represented?" --> X is not an element so the validator chokes.
A second example is when a variable is provided as one of the numbers, say 'X' is the atomic number. This isn't a valid element AND atomic number is supposed to be an integer so there are two places where this trips up the validator.
I don't have a concrete suggestion but I think that we should use the <nuclear_notation> tags for full elements and partial information to ensure consistency in formatting.
Perhaps we need a way of specifying whether it is a strict element or not?