P.O. Boxes etc

Joon Radley joon at radleys.co.za
Fri Jan 19 06:11:59 CET 2007


Hi Bernhard,

Nope the new format would read:

{<address>
  <type>(string, default home)</type>
  {<street>(string, default empty)</street>}
  {<pobox>(string, default empty)</pobox>}
  <locality>(string, default empty)</locality>
  <region>(string, default empty)</region>
  <postal-code>(string, default empty)</postal-code>
  <country>(string, default empty)</country> 
</address>}

Either the <street> or the <pobox> must be present in the <address>
structure, but not both. If both are present the <pobox> is used.

The <k-pobox> is only if you want a separate address in the root of the tree
that is just a pobox address, this would be like a <address> structure. The
k- is to show that it is a KDE custom tag.

Best Regards

Joon Radley
Radley Network Technologies CC
Cell: +27 (0)83 368 8557
Fax: +27 (0)12 998 4346
E-mail: joon at radleys.co.za
Web: www.toltec.co.za 

> -----Original Message-----
> From: kolab-format-bounces at kolab.org 
> [mailto:kolab-format-bounces at kolab.org] On Behalf Of Bernhard Reiter
> Sent: Thursday, January 18, 2007 9:49 PM
> To: kolab-format at kolab.org
> Subject: Re: P.O. Boxes etc
> 
> Hi Joon,
> 
> On Thursday 09 November 2006 08:26, Joon Radley wrote:
> > Outlook provides for 3 addresses. Any or all of the 
> addresses can be 
> > postal addresses, depending if a field is set.
> >
> > Introducing a new sub object <pobox> will not work as it cannot fit 
> > into the current scheme. Adding a field to the <address> 
> sub object, 
> > marking a address as a mail address, will work 100%.
> >
> > So if you introduce a new sub object please just prepend it 
> with the 
> > k- prefix e.g.. <k-pobox>.
> 
> so you propose that the <address> secion of Chapter 6. Format 
> Of Contacts http://www.kolab.org/doc/kolabformat-2.0rc5-html/c237.html
> should read like:
> 
> {<address>
>             <type>(string, default home)</type>
>             {<street>(string, default empty)</street>}
>             <locality>(string, default empty)</locality>
>             <region>(string, default empty)</region>
>             <postal-code>(string, default empty)</postal-code>
>             {<k-pobox>(string, default empty)</k-pobox>}
>             <country>(string, default empty)</country> </address>}
> 
> with
>     some postal addresses have a pobox number instead of a 
> street address,
>     So it should be one or none out of these two tags present.
>     some only have the zip code which is saved in <postal-code>
> 
> I do not really understand why you would want a "k-" in front of it?
> 
> Bernhard
> 






More information about the format mailing list