Mario,

On Tue, Dec 19, 2017 at 5:23 AM, Mario Loffredo
<[email protected]> wrote:
> 1) I think there is a typo in $nameserver_mixin declaration
>
> "ip6" : [ ipv6 ? ] ? should be "v6" : [ ipv6 ? ] ?

I agree. Fixed...

> 2)  It seems to me that the @{unordered} annotation of $vcard definition is
> not compliant with what it states in RFC6350 (section 6.7.9.) and RFC7095
> (section 3.3.1.1.).
> The properties in the vCard array can appear in any order but "version" must
> be the first one anyway.

Actually, it's worse than that. After reviewing jCard again I've
changed the definition to:

; See RFC 7095
$vcard = [
   [ "version", {}, "text", "4.0" ],
   [ /^((?!fn).)*$/, $property_attributes ] *,
   [ "fn", {}, "text", string ],
   [ string, $property_attributes ] *
]

$property_attributes = (
  { /.*/:any * },
  $property_type,
  ( string | [ ( string | [ string * ] ) * ] )
)

$property_type =: (
  "text" |
  "uri" |
  "date-time" |
  "date-and-or-time" |
  "timestamp" |
  "boolean" |
  "integer" |
  "float" |
  "utc-offset" |
  "language-tag" |
  /^x-.*/
)

Annoying but it seems to work.

I've made the changes in the git repo, but I will wait to see if there
is any other feedback before issuing an -05 of the draft.

Thanks for your help.

-andy

_______________________________________________
regext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/regext

Reply via email to