Estou usando o XStream para trabalhar com XML. Estou conseguinfo gerar o xml normalmente e salvando em arquivo texto. Mas quando tento executar o código
setEtiquetas((ArrayList)xStream.fromXML(manipuladorArquivo.getConteudo()));
Ocorre o seguinte erro:
org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not n (position: START_DOCUMENT seen n… @1:1)