diff options
author | Daniil Baturin <daniil@baturin.org> | 2015-04-24 17:07:49 +0600 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2015-04-24 17:07:49 +0600 |
commit | eebd7f47f9de299adc79e3a57e2e394934665895 (patch) | |
tree | 22f5d3d3f7263bcb043baf2d0dd31f7c6292f5c3 /data/examples | |
parent | 63bcc75d75ec0bc4642ff1d0354b6915b4b1e6a9 (diff) | |
download | vyconf-eebd7f47f9de299adc79e3a57e2e394934665895.tar.gz vyconf-eebd7f47f9de299adc79e3a57e2e394934665895.zip |
Move constraintError out of the constraint tag, rename to constraintErrorMessage.
Diffstat (limited to 'data/examples')
-rw-r--r-- | data/examples/interface_definition_sample.xml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/data/examples/interface_definition_sample.xml b/data/examples/interface_definition_sample.xml index 8b48c20..b74a415 100644 --- a/data/examples/interface_definition_sample.xml +++ b/data/examples/interface_definition_sample.xml @@ -1,14 +1,14 @@ <?xml version="1.0"?> -<interfaceDefinition extends="system"> - <node name="login"> +<interfaceDefinition> + <node name="login" owner="login"> <children> <tagNode name="user"> <properties> <help>User name</help> <constraint> <regex>[a-z][a-zA-Z0-9]+</regex> - <errorMessage>User name must start with a letter and consist of letters and digits</errorMessage> </constraint> + <constraintErrorMessage>User name must start with a letter and consist of letters and digits</constraintErrorMessage> </properties> <children> <leafNode name="full-name"> @@ -18,15 +18,6 @@ </leafNode> </children> </tagNode> - <leafNode name="hostname"> - <properties> - <help>System hostname</help> - <valueHelp> - <format>text</format> - <description>System hostname (alphanumeric, must start with a letter)</description> - </valueHelp> - </properties> - </leafNode> </children> </node> </interfaceDefinition> |