Thanks Mauro, I'll review and get those in for the next version where 
appropriate.

--
Alex Brotman
Sr. Engineer, Anti-Abuse & Messaging Policy
Comcast

> -----Original Message-----
> From: dmarc <dmarc-boun...@ietf.org> On Behalf Of Mauro De Gennaro
> Sent: Tuesday, November 29, 2022 4:23 AM
> To: dmarc@ietf.org
> Subject: [dmarc-ietf] XML Schema error in draft-ietf-dmarc-aggregate-
> reporting-06
> 
> 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
> dmarc@ietf.org
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/dmarc__;!
> !CQl3mcHX2A!AGfGxYORMMmDibOcHQ2c7CSMr8tj0beWZhr5W1lk5MvQ6bGBn
> ssbsVOSf0J1fARxZqXHyrHeb-VcR-lWi2v-IwFE$
_______________________________________________
dmarc mailing list
dmarc@ietf.org
https://www.ietf.org/mailman/listinfo/dmarc

Reply via email to