Opened 19 months ago

Last modified 5 months ago

#33 new enhancement

XML format: version

Reported by: vesely@… Owned by:
Priority: major Milestone: Deliverable #3 (changes to DMARC base spec + DMARC Usage Guide
Component: dmarc-aggregate-reporting Version:
Severity: - Keywords:
Cc:

Description

Note added in ​http://bit.ly/dmarc-rpt-schema

It is more useful to specify the XML format version using the URI of a spec file, such as http://dmarc.org/dmarc-xml/0.2. Therefore, it is reduntand, useless , and error prone to have a <version> element, which currently stands right at the beginning of the <feedback> element.

There are several tools that can validate XML syntax based on a specification. To allow automated syntax verification, reports should refer to the schema version in the feedback element namespace, for example, like so:

<?xml version="1.0" encoding="UTF-8"?>
   <dmarc:feedback
         xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:dmarc="http://dmarc.org/dmarc-xml/0.2">
      <report_metadata>
         <org_name>example.com</org_name>
[...]

Change History (3)

comment:1 Changed 19 months ago by freddie@…

I agree.

comment:2 Changed 7 months ago by todd.herr@…

  • Component changed from dmarc-future-notes to dmarc-aggregate-reporting

comment:3 Changed 5 months ago by alex_brotman@…

Was this supposed to point here? https://dmarc.org/dmarc-xml/0.1/rua.xsd

Note: See TracTickets for help on using tickets.