[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: more schema-08 notes



Andrew Sciberras wrote:

Hi Hallvard,


Hi,

Section 2.34, street, could use an example with ", " between components,
to distinguish it from attrs with Postal Address syntax.  I've seen
these syntaxes being confused in both directions.


Not a problem.


I think I'd like to elaborate on this topic a little bit.

The street attribute type is intended for a different usage than the attribute types that use the Postal Address syntax.

Lets take this address as an example (Just something I grabbed from the IETF webpage):

Minneapolis Hilton and Towers
1001 Marquette Avenue
Minneapolis, MN 55403 USA


If you wanted to represent this address in its entirety, then you would use an attribute with a Postal Address syntax.
Using the postalAddress attribute, you can create a Postal Address value that separates the components in any way you like... Such as:


"Minneapolis Hilton and Towers$1001 Marquette Avenue$Minneapolis, MN 55403$USA"


I don't see how you can draw a comparison between this representation of an address and what 'street' has to offer.
The intention of 'street' would be to hold the following value:
"1001 Marquette Avenue"


And, 'st' would be: "Minneapolis"
And 'postalCode' would be: "55403"


So, I guess my point is, I don't believe that there should be an example with ", " to separate components, when the attribute type isn't really designed to hold multiple components within a single value.



Andrew Sciberras.