I have xml with empty tag. while calling below code i am getting conversion
exception.
public static  <T> T xmlToVoConversion(String data ,  Class<T> genericType)
        {
                XStream stream = new XStream( );
                stream.processAnnotations(genericType);
                T convertedObject = (T) stream.fromXML(data);
                logger.info(convertedObject);
                return convertedObject;
        }

I need solution with customer convertor.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to