Here is a collection of changes to the current XSD relative to the RFC
7489 version.

It's a bit much to put into the draft itself, but might be a handy
reference for someone wanting to know the details without processing the
files themselves.

Changed elements:

* /

  The XML root element now declares the attributes
  "targetNamespace" and "xmlns".

* /report_metadata

  xs:sequence was changed to xs:all

  The elements inside can now be in any order.

* /report_metadata/error

  The "maxOccurs" attribute changed from "unbounded" to "1".

* /policy_published/sp

  The "minOccurs" attribute changed from "1" to "0"
  making the element optional.

* /record/row/source_ip

  The type was changed to string as this RFC does not want to
  be in the IP address validation business.

  Just use the value from the C library function inet_ntop()
  as content.

* /record/identifiers/envelope_from

  The "minOccurs" attribute changed from "1" to "0"
  making the element optional.

* /record/auth_results/dkim/selector

  The "minOccurs" attribute changed from "0" to "1"
  making the element required.

* /record/auth_results/spf

  The "minOccurs" attribute changed from "1" to "0", and
  The "maxOccurs" attribute changed from "unbounded" to "1".
  making the element optional.


Added elements:

* /report_metadata/generator

  An optional element meant to contain the name and version
  of the report generator; this can help the Report Consumer
  find out where to report bugs.

* /policy_published/np

  An optional element accompanying the new "np" tag in the
  DMARC Policy Record .

* /policy_published/discovery_method

  An optional element used to signal how the Policy Domain
  was discovered.

  Valid values are: "psl" and "treewalk".

* /policy_published/testing

  An optional element accompanying the new "t" tag in the
  DMARC Policy Record.

  Valid values are: "n" and "y".

* /record/auth_results/spf/human_result

  A new optional element mirroring the existing element of
  the same name in /record/auth_results/dkim/human_result.


Removed elements:

* /policy_published/pct

  The "pct" tag has been removed, and as a consequence
  this previously required element went away as well.


Change in allowed value options:

* /record/row/policy_evaluated/reason/type

  "forwarded" and "sampled_out" were removed, and
  "policy_test_mode" was added as a valid value.

* /record/row/policy_evaluated/disposition

  "pass" was added as a valid value.

* /record/auth_results/spf/result

  "policy" was added as a valid value.

* /record/auth_results/spf/scope

  "helo" was removed as a valid value.


Support for extensions:

The new XSD allows for extensions to be added.

* /

  The XML root element must have an extra namespace
  attribute declared for each extension in use.

* /extension

  This new optional top level element can hold
  information on extensions in use.

* /record

  This element was changed to allow for an unlimited amount
  of namespaced elements to be added at the end. Each with
  information relevant to the use of a particular extension.


Daniel K.

_______________________________________________
dmarc mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to