Hello all,
I'm having a problem with Filters in ECS. It could just be my misundertanding.
I've been having a look around the docs and I'm still none the wiser.
The following java code gives this output:
<test_xml>testing & < ></test_xml><p>testing & < >
I would have thought that the "&" "<" and ">" should have been escaped.
Here is the offending code. What I'm I missing out?
import org.apache.ecs.xml.XML;
import org.apache.ecs.xml.XML;
import org.apache.ecs.html.P;
public class ECSTest
{
public static void main( String[] args )
{
XML x = new XML( "test_xml" );
x.addElement( "testing & < >" );
x.output( System.out );
P p = new P();
p.addElement( "testing & < >" );
p.output( System.out );
}
}// ECSTest
* * * * * * *
This message contains information from Equifax, Inc. which
may be confidential and privileged. If you are not an
intended recipient, please refrain from any disclosure,
copying, distribution or use of this information and note that
such actions are prohibited. If you have received this
transmission in error, please notify [EMAIL PROTECTED]
This message and any attachments have been scanned for
viruses.
--
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]