< prev index next >

test/javax/xml/jaxp/unittest/validation/tck/Bug6970890Test.java

Print this page




  55         } catch (SAXException e) {
  56             e.printStackTrace();
  57             Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
  58         }
  59     }
  60 
  61     @Test
  62     public void test_reH16() {
  63         try {
  64             SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
  65             Schema schema = schemaFactory.newSchema(new StreamSource(Bug6970890Test.class.getResourceAsStream("Bug6970890_1.xsd")));
  66 
  67         } catch (SAXException e) {
  68             e.printStackTrace();
  69             Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
  70 
  71         }
  72     }
  73 
  74 }
  75 


  55         } catch (SAXException e) {
  56             e.printStackTrace();
  57             Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
  58         }
  59     }
  60 
  61     @Test
  62     public void test_reH16() {
  63         try {
  64             SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
  65             Schema schema = schemaFactory.newSchema(new StreamSource(Bug6970890Test.class.getResourceAsStream("Bug6970890_1.xsd")));
  66 
  67         } catch (SAXException e) {
  68             e.printStackTrace();
  69             Assert.fail("The - character is a valid character range at the beginning or end of a positive character group");
  70 
  71         }
  72     }
  73 
  74 }

< prev index next >