< prev index next >

test/javax/xml/jaxp/unittest/validation/Bug6493687.java

Print this page




  31  * @test
  32  * @bug 6493687
  33  * @library /javax/xml/jaxp/libs /javax/xml/jaxp/unittest
  34  * @run testng/othervm -DrunSecMngr=true validation.Bug6493687
  35  * @run testng/othervm validation.Bug6493687
  36  * @summary Test validator.validate(new DOMSource(node)) without any exception.
  37  */
  38 @Listeners({jaxp.library.FilePolicy.class})
  39 public class Bug6493687 {
  40 
  41     @Test
  42     public void test() throws Exception {
  43         System.out.println("Got here");
  44         Document doc = new XMLDocBuilder("Bug6493687.xml", "UTF-8", "Bug6493687.xsd").getDocument();
  45         System.out.println("Got here2");
  46         System.out.println(doc);
  47         System.out.println(doc.getDocumentElement().getNodeName());
  48         System.out.println("Got here3");
  49     }
  50 }
  51 


  31  * @test
  32  * @bug 6493687
  33  * @library /javax/xml/jaxp/libs /javax/xml/jaxp/unittest
  34  * @run testng/othervm -DrunSecMngr=true validation.Bug6493687
  35  * @run testng/othervm validation.Bug6493687
  36  * @summary Test validator.validate(new DOMSource(node)) without any exception.
  37  */
  38 @Listeners({jaxp.library.FilePolicy.class})
  39 public class Bug6493687 {
  40 
  41     @Test
  42     public void test() throws Exception {
  43         System.out.println("Got here");
  44         Document doc = new XMLDocBuilder("Bug6493687.xml", "UTF-8", "Bug6493687.xsd").getDocument();
  45         System.out.println("Got here2");
  46         System.out.println(doc);
  47         System.out.println(doc.getDocumentElement().getNodeName());
  48         System.out.println("Got here3");
  49     }
  50 }

< prev index next >