Hi Andy,

Il 21/12/2017 15:07, Andrew Newton ha scritto:
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.

I am aware that jCard definition is a trouble.
I think that if you want to really use RDAP-JCR rules to strictly validate RDAP responses, you should provide a more comprehensive (but, unfortunately, much more annoying) description of jCard. Since jCard is not used only in RDAP, you can think of reporting it in a separate document.

Regards
Mario

Thanks for your help.

-andy

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


--
Dr. Mario Loffredo
Servizi Internet e Sviluppo Tecnologico
CNR - Istituto di Informatica e Telematica
via G. Moruzzi 1, I-56124 PISA, Italy
E-Mail: [email protected]
Phone: +39 050 3153497
Web: http://www.iit.cnr.it/mario.loffredo

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

Reply via email to