SDI-00418
The rule sets below word this rule differently; each wording is shown with its rule set.
error: the document is invalid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Message
2.1.1.3 <Data> antecedente a 2.1.6.3 <Data>
Context
/p:FatturaElettronica/FatturaElettronicaBody
Test
$type != 'TD04' or (every $d in DatiGenerali/DatiFattureCollegate/Data satisfies $date ge xs:date($d))
Checked with FatturaPA 1.2.3
Message
2.1.1.3 <Data> antecedente a 2.1.2.2 <DataFR>
Context
/s:FatturaElettronicaSemplificata/FatturaElettronicaBody
Test
not(DatiGenerali/DatiFatturaRettificata) or $date ge xs:date(DatiGenerali/DatiFatturaRettificata/DataFR)
Checked with FatturaPA simplified 1.0.2