[Pkg-owncloud-commits] [php-sabre-vobject] 232/341: `CLIENTPIDMAP` is a structured-value.
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 13:35:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit 7373d9dac0875c62615a439755fad7be81135ee3
Author: Ivan Enderlin <ivan.enderlin at hoa-project.net>
Date: Tue Jan 27 14:57:18 2015 +0100
`CLIENTPIDMAP` is a structured-value.
Regarding RFC6350, this is not a structured-value strictly speaking.
Quoting the Section 6.7.7:
> Value type: A semicolon-separated pair of values. The first field
> is a small integer corresponding to the second field of a PID
> parameter instance. The second field is a URI. The "uuid" URN
> namespace defined in [RFC4122] is particularly well suited to this
> task, but other URI schemes MAY be used.
This is a semicolon-separated pair of values… An erratum has been
proposed and under review.
However, in RFC6351, the `property-clientpidmap` is considered a
structured-value property.
---
lib/Property/Text.php | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/Property/Text.php b/lib/Property/Text.php
index 603b618..8e08ec7 100644
--- a/lib/Property/Text.php
+++ b/lib/Property/Text.php
@@ -39,6 +39,7 @@ class Text extends Property {
'ADR',
'ORG',
'GENDER',
+ 'CLIENTPIDMAP',
// iCalendar
'REQUEST-STATUS',
@@ -351,6 +352,13 @@ class Text extends Property {
]);
break;
+ case 'CLIENTPIDMAP':
+ $map([
+ 'sourceid',
+ 'uri'
+ ]);
+ break;
+
default:
parent::xmlSerializeValue($writer);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list