Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug4623 / string-with-ext.yang
1 module types {
2     namespace "urn:custom.types.demo";
3     prefix "types";
4
5     import extension-def { prefix "ext"; }
6
7     leaf leaf-unknown-length-pattern {
8         type string {
9             ext:unknown "unknown";
10             length "2..10";
11             pattern "[0-9a-fA-F]";
12         }
13     }
14
15     leaf leaf-length-unknown-pattern {
16         type string {
17             length "2..10";
18             ext:unknown "unknown";
19             pattern "[0-9a-fA-F]";
20         }
21     }
22
23     leaf leaf-length-pattern-unknown {
24         type string {
25             length "2..10";
26             pattern "[0-9a-fA-F]";
27             ext:unknown "unknown";
28         }
29     }
30 }