|
@@ -32,10 +32,8 @@ import org.w3c.dom.Element; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Echo XML. |
|
|
* Echo XML. |
|
|
* Notice how this is a ProjectComponent and not a task, which means that certain |
|
|
|
|
|
* well-known task operations (such as {@link org.apache.tools.ant.Task#getLocation()}) do not work. |
|
|
|
|
|
* |
|
|
* |
|
|
* Other limitations |
|
|
|
|
|
|
|
|
* Known limitations: |
|
|
* <ol> |
|
|
* <ol> |
|
|
* <li>Currently no XMLNS support</li> |
|
|
* <li>Currently no XMLNS support</li> |
|
|
* <li>Processing Instructions get ignored</li> |
|
|
* <li>Processing Instructions get ignored</li> |
|
@@ -46,7 +44,6 @@ import org.w3c.dom.Element; |
|
|
*/ |
|
|
*/ |
|
|
public class EchoXML extends XMLFragment { |
|
|
public class EchoXML extends XMLFragment { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private File file; |
|
|
private File file; |
|
|
private boolean append; |
|
|
private boolean append; |
|
|
public static final String ERROR_NO_XML = "No nested XML specified"; |
|
|
public static final String ERROR_NO_XML = "No nested XML specified"; |
|
|