[rfc-i] <postalbody>

Julian Reschke julian.reschke at gmx.de
Sun Feb 16 13:04:54 PST 2014


On 2014-02-16 21:45, Paul Hoffman wrote:
> On Feb 16, 2014, at 11:49 AM, Nico Williams <nico at cryptonector.com> wrote:
>
>> On Sun, Feb 16, 2014 at 4:54 AM, Julian Reschke <julian.reschke at gmx.de> wrote:
>>>> 2.31. <postalbody>
>>>>
>>>>
>>>>    A method for presenting a postal address without using <street>,
>>>>    <city>, <region>, <code>, and <country> elements.  Processors will
>>>>    maintain horizontal whitespace and line breaks in the text of the
>>>>    <postalbody> element.
>>>
>>> That's a bit weird. As whitespace this becomes an element that can not be
>>> indented in the source file. that is:
>>>
>>> [...]
>>>
>>> ...will not produce what's intended.
>>>
>>> I believe it would be better to have <postalline>, where whitespace is not
>>> significant, and allow that to repeat.
>>
>> Or just <t>...
>
> The <t> element causes a vertical space after the line. Or were you suggesting <t style="postal">, or that "<t> inside of <address> means no line after"?
> ...

Whether it applies a vertical space is not totally clear; it could 
depend on context.

That being said, <t> comes with a content model that allows quite a few 
things we don't want here, so I'd prefer to have a special element which 
just that limited purpose.

Best regards, Julian


More information about the rfc-interest mailing list