[Simple-support] how to handle changing XML
Brought to you by:
niallg
|
From: Justin M. <jm...@me...> - 2011-06-14 14:58:24
|
I'm am using simple-xml to parse multiple feed sources. All have a very similar format but occasionally a feed provider will add a new node and that will break my parsing. Currently I just keep expanding my model to account for new nodes but this isn't sustainable. How can I tell simple xml to ignore nodes it doesn't recognize so that I stop getting "org.simpleframework.xml.core.ElementException: Element '?' does not have a match in class" errors? Any advice is appreciated. |