You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
...
contentline = [group "."] name *(";" param) ":" value CRLF
...
group = 1*(ALPHA / DIGIT / "-")
...
And then page 7:
The group construct is used to group related properties together.
The group name is a syntactic convention used to indicate that all
property names prefaced with the same group name SHOULD be grouped
together when displayed by an application. It has no other
significance. Implementations that do not understand or support
grouping MAY simply strip off any text before a "." to the left of
the type name and present the types and values as normal.
So having vCard property line:
gr1.FN:Bob
The expectation would be something like:
let p = vcard.get_property("FN").unwrap();assert_eq!(p.name,"FN");assert_eq!(p.group,Some("gr1"));
IMHO, the key point here is that the property name should be "FN" and not "gr1.FN".
Is this functionality being considered? I could submit a PR.
Cheers
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi @Peltoche
It looks like property groups are not supported.
From the spec https://www.rfc-editor.org/rfc/rfc6350#section-3.3 on page 6:
And then page 7:
So having vCard property line:
The expectation would be something like:
IMHO, the key point here is that the property name should be
"FN"
and not"gr1.FN"
.Is this functionality being considered? I could submit a PR.
Cheers
The text was updated successfully, but these errors were encountered: