int len = text.length();
if (status.getPosition() >= len) {
throw new IndexOutOfBoundsException(
"[" + status.getPosition() + "]: " + text.toString());
}
<BUG>ParsedValues parsed = null;
try {
parsed = cf.parseElements(text, status, attributes, quickPath, cf.countOfElements);
status.setRawValues(parsed);</BUG>
} catch (AmbivalentValueException ex) {

int len = text.length();
if (status.getPosition() >= len) {
throw new IndexOutOfBoundsException(
"[" + status.getPosition() + "]: " + text.toString());
}
ChronoEntity<?> parsed = null;
try {
if ((cf.countOfElements == 1) && !cf.hasOptionals) { // TODO: only apply for specialized edge cases
parsed = cf.parseElement(text, status, attributes, quickPath);
} else {
parsed = cf.parseElements(text, status, attributes, quickPath, cf.countOfElements);
}
status.setRawValues(parsed);
} catch (AmbivalentValueException ex) {
