@Test
public void testReadUpdateWfs200SpecExample2()
                        throws Exception {

    XMLStreamReader xmlStream = getXMLStreamReader( UPDATE_ACTION2 );
    Update action = reader.readUpdate( xmlStream );
    assertNull( action.getHandle() );
    assertNull( action.getInputFormat() );
    assertNull( action.getSRSName() );
    Iterator<PropertyReplacement> replacementProps = action.getReplacementProps();
    PropertyReplacement replacement = replacementProps.next();
    assertNull( replacement.getUpdateAction() );
    assertEquals( new QName( "http://www.someserver.com/myns", "name" ), replacement.getPropertyName().getAsQName() );
    XMLStreamReader valueStream = replacement.getReplacementValue();
    valueStream.require( XMLStreamReader.START_ELEMENT, WFS_200_NS, "Value" );
    assertEquals( "somestring", valueStream.getElementText() );
    nextElement( valueStream );
    valueStream.require( XMLStreamReader.END_ELEMENT, WFS_200_NS, "Property" );
    assertFalse( replacementProps.hasNext() );
    nextElement( xmlStream );
    Filter filter = action.getFilter();
    assertNotNull( filter );
    xmlStream.require( XMLStreamReader.END_ELEMENT, WFS_200_NS, "Update" );
}