Details
Description
This code in the validator.xml fails with this error : "unexpected token adr.."
<field property="adr[0]" depends ="validwhen">
<var>
<var-name>test</var-name>
<var-value>((this!=null) or (adr[1] != null ))</var-value>
</var>
</field>
adr is an array of two adress lines. Only one of them needs tobe filled.
According to the document of the validator, it should work.