Skip to content

fixed PUBLISH pidf order and attributes#61

Merged
dpocock merged 1 commit intoresiprocate:masterfrom
MateusBellomo:mateus-SendPresence-Fix
Aug 24, 2016
Merged

fixed PUBLISH pidf order and attributes#61
dpocock merged 1 commit intoresiprocate:masterfrom
MateusBellomo:mateus-SendPresence-Fix

Conversation

@MateusBellomo
Copy link
Contributor

No description provided.

dm->mNamespacePrefix = Data("dm:");
dm->mTag = "person";
dm->mAttributes["id"] = Random::getRandomHex(3);
dm->mAttributes["id"] = Data(string("ID-") + Random::getRandomHex(3).c_str());
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you probably want to do the same for the tuple ID since it's of the same type (xs:ID). It cannot begin with a number, so a predefined prefix (such as "ID-") works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@MateusBellomo MateusBellomo force-pushed the mateus-SendPresence-Fix branch from dfe4f01 to ea86e23 Compare August 24, 2016 17:31
@dpocock dpocock merged commit bf6300a into resiprocate:master Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants