|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2009 the original author or authors. |
|
|
|
|
* Copyright 2002-2011 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -24,11 +24,12 @@ import javax.xml.transform.Transformer;
@@ -24,11 +24,12 @@ import javax.xml.transform.Transformer;
|
|
|
|
|
import javax.xml.transform.TransformerFactory; |
|
|
|
|
import javax.xml.transform.stream.StreamResult; |
|
|
|
|
|
|
|
|
|
import static org.custommonkey.xmlunit.XMLAssert.assertXMLEqual; |
|
|
|
|
import org.junit.Before; |
|
|
|
|
import org.junit.Test; |
|
|
|
|
|
|
|
|
|
public class XMLEventStreamReaderTest { |
|
|
|
|
import static org.custommonkey.xmlunit.XMLAssert.*; |
|
|
|
|
|
|
|
|
|
public class XMLEventStreamReaderTests { |
|
|
|
|
|
|
|
|
|
private static final String XML = |
|
|
|
|
"<?pi content?><root xmlns='namespace'><prefix:child xmlns:prefix='namespace2'>content</prefix:child></root>" |