Bug 5693: IOException after first parsing phase - stream closed
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug5693 / foo.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <module xmlns="urn:ietf:params:xml:ns:yang:yin:1" xmlns:foo="foo" name="foo">
3     <yang-version value="1"></yang-version>
4     <namespace uri="foo"></namespace>
5     <prefix value="foo"></prefix>
6     <organization>
7         <text></text>
8     </organization>
9     <contact>
10         <text></text>
11     </contact>
12     <revision date="2016-04-01"></revision>
13     <feature name="test-input-stream-not-closed">
14         <description>
15             <text>
16                 Presence of this feature in Module indicates that parsing of this file was successful.
17                 Input stream was not closed after completing the first phase of parsing, so
18                 statements defined in the last phase (like feature) were successfully parsed.
19             </text>
20         </description>
21     </feature>
22 </module>