Il 24/10/2017 19:18, Andrew Newton ha scritto:
Mario,

Sorry for the later than usual response. My comments are inline.
No problem, Andy.
I ask you for another clarification. I hope the last one.
Does the proposed set of rules validate an RDAP response permissively?
I mean, do those rules validate successfully a response with extra fields?

If yes, it seems to me that the help_response rule validates almost everything (except the basic error response). I don't know if it is an error in JCR, it would be if root rules are mutually exclusive.

Regards
Mario


On Wed, Oct 11, 2017 at 11:20 AM, Mario Loffredo
<mario.loffr...@iit.cnr.it> wrote:
- in RFC7480 (section "5.3")  it is written "If a server wishes to respond
that it has an empty result set (that is, no data appropriately satisfying
the query), it returns a 404  (Not Found) response code."
    According to this statement, it seems that search response arrays should
have at least one element so for example the rule $domainSearchResult =
"domainSearchResult" : [ $domain_oc * ] should be replaced by the rule
$domainSearchResult = "domainSearchResult" : [ $domain_oc + ]

- Is it possible to have RDAP responses without any value (at least
"rdap_level_*" seems to be required) in the rdapConformance array? If no,
the rule about rdapConformance should be $rdapConformance =
"rdapConformance" : [ string + ]
These are good points, but I'm not sure I can answer them (they are
working group interpretations). But these issues do highlight why a
more formal syntax is a good thing.

- Handle seems to be required for an entity. If so, the handle defintion in
common_mixin should be overrided by an identical definition without  '?' in
entity_mixin. The same occurs if rdapConformance is required for all the
reponses except the error response.
I think you are correct here.

-andy

_______________________________________________
regext mailing list
regext@ietf.org
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: mario.loffr...@iit.cnr.it
Phone: +39 050 3153497
Web: http://www.iit.cnr.it/mario.loffredo

_______________________________________________
regext mailing list
regext@ietf.org
https://www.ietf.org/mailman/listinfo/regext

Reply via email to