Hello,
Section 4 (Extensible Reporting) of draft-ietf-dmarc-aggregate-reporting-06
specifies that extensions MAY exist in one of two places; within the record
element, or in a separate extensions element under the feedback element.
However, in the XML Schema included on Appendix A it is defined within the
RowType element instead of RecordType:
<xs:complexType name="RowType">
<xs:all>
<!-- The connecting IP. -->
<xs:element name="source_ip" type="IPAddress"
minOccurs="1" maxOccurs="1"/>
<!-- The number of messages for which the
PolicyEvaluatedType was applied. -->
<xs:element name="count" type="xs:integer"
minOccurs="1" maxOccurs="1"/>
<!-- The DMARC disposition applied to matching
messages. -->
<xs:element name="policy_evaluated"
type="PolicyEvaluatedType"
minOccurs="1" maxOccurs="1"/>
<xs:element name="extensions" type="ExtensionType"
minOccurs="0" maxOccurs"unbounded"/>
</xs:all>
</xs:complexType>
Instead, it should be defined in RecordType:
<xs:complexType name="RecordType">
<xs:sequence>
<xs:element name="row" type="RowType"/>
<xs:element name="identifiers" type="IdentifierType"
minOccurs="1" maxOccurs="1"/>
<xs:element name="auth_results" type="AuthResultType"
minOccurs="1" maxOccurs="1"/>
<xs:element name="extensions" type="ExtensionType"
minOccurs="0" maxOccurs"unbounded"/>
</xs:sequence>
</xs:complexType>
In addition to that, the sample report on Appendix B has two errors:
- The “version” element is included within “report_metadata” instead of under
the “feedback” element.
- The closing tag of “extra_contact_info” is </export_contact_info> instead of
</extra_contact_info>.
Thank you.
Kind Regards,
Mauro De Gennaro
Stalwart Labs Ltd.
_______________________________________________
dmarc mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/dmarc