Re: internationalization issues

On 10/23/2015 07:06 PM, Aaron Parecki wrote:
> It doesn't cause any problems *parsing*, but it means you can't use object
> notation in most languages.
> 
> $foo->@context is not valid syntax in PHP or nearly any language I can
> think of. It limits the use to array/hash notation, like $foo['@context']
> in PHP.

In javascript one can't use object notation with many microformats
properties because of '-'

post.like-of

this will throw an error, so one also needs to use array/hash notation
post["like-of"]

same applies to *all* 'prefixed' extensions like p3k-* etc.

Received on Saturday, 24 October 2015 13:33:08 UTC