The module uses short identifiers for the ax attributes. These can cause namespace collisions:

  • http://axschema.org/contact/city/home becomes home.
  • http://axschema.org/contact/postalCode/home becomes home.

A suitable solution could be to generate the short identifiers from more parts of the whole path:

  • http://axschema.org/contact/city/home would become contact_city_home.
  • http://axschema.org/contact/postalCode/home would become contact_postalCode_home.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

xamanu’s picture

Status: Active » Needs review
Issue tags: +patch
FileSize
1.26 KB

And here comes the patch.

wojtha’s picture

Status: Needs review » Closed (duplicate)

This is duplicate of #1033292: Support AX extensions + namespace collision bug

Please, post your patch here if you wish.