ietf-mta-filters
[Top] [All Lists]

[draft-freed-sieve-in-xml-02] Emphasis Whitespace Preservation

2009-01-30 12:39:46

Issue
-----
Implicit whitespace preservation.

Original
--------
In "4. XML Representation of Sieve"

  String, number, and tag arguments are represented as str, num, and
  tag elements respectively.  The actual string, number, or tag
  identifier appears as text inside the element.  None of these
  elements have any defined attributes.  Several examples of arguments
  have already appeared in the preceding control, action and test
  examples.

Proposal
--------
  String, number, and tag arguments are represented as str, num, and
  tag elements respectively.  The actual string, number, or tag
  identifier appears as text inside the element.  None of these
  elements have any defined attributes.  Several examples of arguments
  have already appeared in the preceding control, action and test
  examples. Any whitespace in the str body content MUST be preserved
  by the processor.


Rationale
---------
This isn't a major issue but based on experience with HTML, developers
too often assume that whitespace should be trimmed. It is therefore
worthwhile emphasizing explicitly that whitespace is expected to be
preserved.