-<module xmlns="urn:ietf:params:xml:ns:yang:yin:1" xmlns:bin="binary-spec"
- name="binary-spec">
- <yang-version value="1"></yang-version>
- <namespace uri="binary-spec"></namespace>
- <prefix value="bin"></prefix>
- <revision date="1970-01-01"></revision>
+<module name="binary-spec" xmlns="urn:ietf:params:xml:ns:yang:yin:1"
+ xmlns:bin="binary-spec">
+ <namespace uri="binary-spec" />
+ <prefix value="bin" />
<leaf name="bin-leaf">
<type name="binary">
- <length value="1..99">
- <error-message>
- <value>The argument is out of bounds <1, 99>
- </value>
- </error-message>
- <error-app-tag value="length-out-of-specified-bounds"></error-app-tag>
- </length>
+ <length value="1..99" />
</type>
- <config value="true"></config>
- <mandatory value="false"></mandatory>
- <status value="current"></status>
</leaf>
<leaf name="bin-leaf-2">
- <type name="binary"></type>
- <config value="true"></config>
- <mandatory value="false"></mandatory>
- <status value="current"></status>
+ <type name="binary" />
</leaf>
</module>
\ No newline at end of file