ez-vcard
ez-vcard copied to clipboard
versionStrict(true) does not apply to parameters
I am trying to convert a V2.1 Vcard into V4.0 by reading it with your library and writing it to another file. But it seems, that setting 'versionStrict(true)' only removes unsupported properties and not parameters from the output. For example, the "EMAIL" property has the parameters "INTERNET" and "PRIMARY" in my input file and in the output file they are still present. Is this a bug, or is this behaviour intended?
Hi DerBlade,
Thank you for reporting this. You are right, versionStrict
does not remove unsupported parameter values. I will look into addressing this.
"PRIMARY" is not a valid EMAIL parameter value under any version, so this would always remain.