Graham wrote:
> With the Pace, try transporting this:
>   <div>Text</div>
>
> Wrap it in a div:
>   <atom:content><div><div><Text/div></div></atom:content>
>
> Decode it:
>   Text
>
> Oops, we've thrown data away. Whether the change is significant or   not
> isn't important. As a user, I expect to be able to type something   in
> at one end and have it reliably appear in the same form,
> regardless of what I type, or whether Thomas Broyer thinks the change
> didn't matter.

With the current (08) draft, try transporting this textual summary:
This deals with
 - feeding cats
 - feeding dogs
 - feeding fishes

Put it in atom:summary:
<atom:summary type="text">
This deals with
 - feeding cats
 - feeding dogs
 - feeding fishes
</atom:summary>

Decode:
This deals with - feeding cats - feeding dogs - feeding fishes

Oops, we've thrown data away. Whether the change is significant or   not
isn't important. As a user, I expect to be able to type something   in
at one end and have it reliably appear in the same form,
regardless of what I type, or whether [someone] thinks the change
didn't matter.

It all depends what you expect from atom:content with "special" @type
values and Text Constructs:
 - transport textual data, eventually enriched with some markup
 - transport data (which happen to be textual) without modifying it in any
way

I think Atom should be homogeneous as to how it deals with this: allow
"insignificant" changes, as long as the text has the same meaning. In the
same way we define whitespace collapsing for @type="text"; we could define
"dummy div discarding" for type="xhtml".

-- 
Thomas Broyer


Reply via email to