Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [incquery-dev] Vague language specification (new validation framework)

Hi,

Okay, after looking into the sources, I would suggest to rephrase the warning message on the "location" attribute. Currently it's "Please use key with a single value list instead!", although it doesn't suggest that "key" is a new keyword there. Maybe something like this would be a bit more straightforward: "Please use attribute "key" with a single value list instead!". (Perhaps with some hint on the syntax of the list.)

Cheers,
Istvan


2015-04-02 13:48 GMT+02:00 David, Istvan <davidi@xxxxxxxxxxxxxx>:
Hi,

According to the wiki page, the key of a validation constraint is a "list of parameter names as strings". The new framework marks the location attribute as deprecated and warns the user about using a key with a single value list instead.

1. Is it a list of multiple parameter names as strings, or a list with one value then?
2. What syntax to use for that? Please, add at least one tiny example there.

Thanks,
Istvan


Back to the top