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

Re: [draft-freed-sieve-in-xml-02] Escaping "*/" In Structured Comments

2009-01-30 15:01:38

On Fri, Jan 30, 2009 at 7:09 PM, Philip Guenther
<guenther+mtafilters(_at_)sendmail(_dot_)com> wrote:
On Fri, 30 Jan 2009, Robert Burrell Donkin wrote:
...
Proposal
--------
To "4.2. Structured Comments" Add:

 If "*/" is found in the XML content, when mapped into a comment it
 would prematurely terminate that comment. Escaping of this sequence
 would often be inconvenient for processors. Editors SHALL NOT include
 "*/" within displayblock, displaydata or foreign markup. Processors MAY
 regard documents containing "*/" in foreign markup, displayblock
 or displaydata as invalid.

Ick.  Wouldn't it be better to tell processors to generate '#' style
comments instead of /*...*/ style comments, at least in that case?

better for some editors but worse for some processors and line endings
would also need some thought. this would be tricky to implement in
XSLT (say).

i think it not unreasonable to expect sieve editors to adopt a
meta-data schema that plays well with Sieve

To "5. Security Considerations" Add:

 Little effective protection can be offered by a processor to the user
 of a malicious editor.

How is this specific to sieve-in-xml and not just a general consideration
for anyone using any editor for any purpose?

yes, it is a general consideration. i thought the rest of that section similar.

- robert

<Prev in Thread] Current Thread [Next in Thread>