< prev index next >
test/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/IssueTracker24.java
Print this page
*** 27,41 ****
--- 27,43 ----
import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.XMLStreamReader;
import org.testng.Assert;
+ import org.testng.annotations.Listeners;
import org.testng.annotations.Test;
/*
* @summary Test no prefix is represented by "", not null.
*/
+ @Listeners({jaxp.library.BasePolicy.class})
public class IssueTracker24 {
@Test
public void testInconsistentGetPrefixBehaviorWhenNoPrefix() throws Exception {
String xml = "<root><child xmlns='foo'/><anotherchild/></root>";
< prev index next >