< prev index next >
test/javax/xml/jaxp/unittest/validation/tck/Bug6974551Test.java
Print this page
*** 32,50 ****
--- 32,52 ----
import javax.xml.validation.Schema;
import javax.xml.validation.SchemaFactory;
import javax.xml.validation.Validator;
import org.testng.Assert;
+ import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.helpers.DefaultHandler;
/*
* @bug 6974551
* @summary Test Validation for SAXParser can expose whitespace facet for xs:anySimpleType.
*/
+ @Listeners({jaxp.library.FilePolicy.class})
public class Bug6974551Test {
static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
static String _xml = Bug6974551Test.class.getResource("Bug6974551.xml").getPath();
< prev index next >