[Simple-support] Duplicate element error
Brought to you by:
niallg
|
From: Dody G. <emp...@gm...> - 2012-12-24 14:33:59
|
I encounter the same exact problem as this posting http://stackoverflow.com/questions/5973028/simple-xml-element-declared-twice-error public class Channel { @Element(required = false, name = "link") @Namespace public String link; } will generate Element 'link' is already used with @org.simpleframework.xml.Element(data=false, name=link, required=false, type=void) on field 'link' if it encounters <link> and <atom:link>. I don't care about the atom:link. Is there anyway to scope the link property to just care about the default namespace? -- nomadlife.org |