< prev index next >

test/javax/xml/jaxp/unittest/stream/Bug6509774.java

Print this page




 157 
 158             }
 159 
 160             Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
 161 
 162             xsr.close();
 163 
 164         }
 165 
 166         catch (Exception e) {
 167 
 168             // Bogus systemId in XML document should not result in exception
 169 
 170             Assert.fail(e.getMessage());
 171 
 172         }
 173 
 174     }
 175 
 176 }
 177 


 157 
 158             }
 159 
 160             Assert.assertTrue(event == XMLStreamConstants.END_DOCUMENT);
 161 
 162             xsr.close();
 163 
 164         }
 165 
 166         catch (Exception e) {
 167 
 168             // Bogus systemId in XML document should not result in exception
 169 
 170             Assert.fail(e.getMessage());
 171 
 172         }
 173 
 174     }
 175 
 176 }

< prev index next >