@Test
public void testTypeNameAttribute()
                        throws JaxenException {

    OMElement root = adapter.getRootElement();
    AXIOMXPath xpath = new AXIOMXPath( "wfs:Query" );
    xpath.addNamespace( "wfs", WFS_NS );
    OMElement queryElement = (OMElement) xpath.selectSingleNode( root );
    OMAttribute typeNameAttr = queryElement.getAttribute( new QName( "typeName" ) );
    QName ftName = queryElement.resolveQName( typeNameAttr.getAttributeValue() );
    assertEquals( new QName( APP_NS, "Philosopher" ), ftName );
}