@Test
public void parseAndExportFilterDocument()
                        throws XMLStreamException, FactoryConfigurationError, IOException, UnknownCRSException,
                        TransformationException {

    Filter filter = parse( "testfilter_110_operator.xml" );
    XMLMemoryStreamWriter writer = new XMLMemoryStreamWriter();
    Filter110XMLEncoder.export( filter, writer.getXMLStreamWriter() );
    String schemaLocation = "http://schemas.opengis.net/filter/1.1.0/filter.xsd";
    XMLAssert.assertValidity( writer.getReader(), schemaLocation );
}