Bug 3899: Milestone: Increase test coverage for Yangtools
[yangtools.git] / yang / yang-data-impl / src / test / resources / org / opendaylight / yangtools / yang / data / impl / codec / xml / xml-doc-test2.yang
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 module xml-doc-test-2 {
9     yang-version 1;
10     namespace "urn:opendaylight:controller:xml:doc:test2";
11     prefix "xmldt";
12
13     revision 2014-07-28 {
14        description "Initial test";
15     }
16
17     container cont2 {
18
19         list l {
20             key "id";
21
22             leaf id {
23                 type string;
24             }
25         }
26     }
27 }