simple-support Mailing List for Simple (Page 33)
Brought to you by:
niallg
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
(13) |
May
(13) |
Jun
(27) |
Jul
(4) |
Aug
(14) |
Sep
(7) |
Oct
|
Nov
(6) |
Dec
(24) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
|
Feb
(21) |
Mar
(10) |
Apr
(15) |
May
(24) |
Jun
(24) |
Jul
(30) |
Aug
(5) |
Sep
(19) |
Oct
(27) |
Nov
(16) |
Dec
(24) |
| 2009 |
Jan
(34) |
Feb
(24) |
Mar
(35) |
Apr
(26) |
May
(8) |
Jun
(17) |
Jul
(28) |
Aug
(31) |
Sep
(36) |
Oct
(35) |
Nov
(20) |
Dec
(16) |
| 2010 |
Jan
(40) |
Feb
(21) |
Mar
(47) |
Apr
(45) |
May
(34) |
Jun
(68) |
Jul
(46) |
Aug
(39) |
Sep
(47) |
Oct
(20) |
Nov
(42) |
Dec
(13) |
| 2011 |
Jan
(41) |
Feb
(16) |
Mar
(32) |
Apr
(44) |
May
(28) |
Jun
(35) |
Jul
(37) |
Aug
(33) |
Sep
(60) |
Oct
(20) |
Nov
(35) |
Dec
(23) |
| 2012 |
Jan
(34) |
Feb
(23) |
Mar
(34) |
Apr
(21) |
May
(48) |
Jun
(24) |
Jul
(31) |
Aug
(39) |
Sep
(25) |
Oct
(10) |
Nov
(27) |
Dec
(28) |
| 2013 |
Jan
(32) |
Feb
(24) |
Mar
(24) |
Apr
(9) |
May
(4) |
Jun
(6) |
Jul
(2) |
Aug
(5) |
Sep
|
Oct
(5) |
Nov
(1) |
Dec
(12) |
| 2014 |
Jan
(14) |
Feb
(16) |
Mar
(5) |
Apr
(3) |
May
(2) |
Jun
(8) |
Jul
(2) |
Aug
|
Sep
(6) |
Oct
|
Nov
(6) |
Dec
|
| 2015 |
Jan
(3) |
Feb
(15) |
Mar
(7) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(1) |
| 2016 |
Jan
|
Feb
(6) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Niall G. <gal...@ya...> - 2011-05-14 07:32:12
|
This is a limitation of Java. In c# and other typed languages T would be available, however Java generics are not reified, so this type information is erased at compile time. It is impossible to know what T is at runtime I am afraid.
--- On Fri, 13/5/11, Azubuko Obele <buk...@gm...> wrote:
From: Azubuko Obele <buk...@gm...>
Subject: Re: [Simple-support] Providing Extra Type Information to the Serialization Engine
To: "Niall Gallagher" <gal...@ya...>
Cc: sim...@li...
Received: Friday, 13 May, 2011, 9:16 PM
Hey Niall,
UnionList looks cool but I'm not sure how it helps me. The problem is I have a base class with a generic collection (see below). Subclasses
specialize this generic parameter but SimpleXml complains that it doesn't know the type of the inherited collection being de/serialized.
--- On Fri, 13/5/11, Azubuko Obele <buk...@gm...> wrote:
From: Azubuko Obele <buk...@gm...>
Subject: [Simple-support] Providing Extra Type Information to the Serialization Engine
To: sim...@li...
Received: Friday, 13 May, 2011, 4:55 AM
Hello,
If I have a generic class like:
public class ItemList<T> {
@ElementList(inline = true, required = false)
private List<T> items = new ArrayList<T>();
}
And then I have subclasses of this like AList extends ItemList<A> and BList extends ItemList<B> ... Simple will fail to serialize such classes because it can't determine the type of the generic property. Is there perhaps a mechanism so that I might be able to provide this information to the engine somehow?
Thanks
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Azubuko O. <buk...@gm...> - 2011-05-14 04:16:39
|
Hey Niall,
UnionList looks cool but I'm not sure how it helps me. The problem is I have
a base class with a generic collection (see below). Subclasses
specialize this generic parameter but SimpleXml complains that it doesn't
know the type of the inherited collection being de/serialized.
>
> --- On *Fri, 13/5/11, Azubuko Obele <buk...@gm...>* wrote:
>
>
> From: Azubuko Obele <buk...@gm...>
> Subject: [Simple-support] Providing Extra Type Information to the
> Serialization Engine
> To: sim...@li...
> Received: Friday, 13 May, 2011, 4:55 AM
>
>
> Hello,
>
> If I have a generic class like:
>
> public class ItemList<T> {
>
> @ElementList(inline = true, required = false)
> private List<T> items = new ArrayList<T>();
>
> }
>
> And then I have subclasses of this like AList extends ItemList<A> and BList
> extends ItemList<B> ... Simple will fail to serialize such classes because
> it can't determine the type of the generic property. Is there perhaps a
> mechanism so that I might be able to provide this information to the engine
> somehow?
>
>
> Thanks
>
> -----Inline Attachment Follows-----
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> Simple-support mailing list
> Sim...@li...<http://mc/compose?to=...@li...>
> https://lists.sourceforge.net/lists/listinfo/simple-support
>
>
|
|
From: Niall G. <gal...@ya...> - 2011-05-14 03:53:28
|
Look at @UnionList in the tutorial.
--- On Fri, 13/5/11, Azubuko Obele <buk...@gm...> wrote:
From: Azubuko Obele <buk...@gm...>
Subject: [Simple-support] Providing Extra Type Information to the Serialization Engine
To: sim...@li...
Received: Friday, 13 May, 2011, 4:55 AM
Hello,
If I have a generic class like:
public class ItemList<T> {
@ElementList(inline = true, required = false)
private List<T> items = new ArrayList<T>();
}
And then I have subclasses of this like AList extends ItemList<A> and BList extends ItemList<B> ... Simple will fail to serialize such classes because it can't determine the type of the generic property. Is there perhaps a mechanism so that I might be able to provide this information to the engine somehow?
Thanks
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Azubuko O. <buk...@gm...> - 2011-05-13 11:55:41
|
Hello,
If I have a generic class like:
public class ItemList<T> {
@ElementList(inline = true, required = false)
private List<T> items = new ArrayList<T>();
}
And then I have subclasses of this like AList extends ItemList<A> and BList
extends ItemList<B> ... Simple will fail to serialize such classes because
it can't determine the type of the generic property. Is there perhaps a
mechanism so that I might be able to provide this information to the engine
somehow?
Thanks
|
|
From: Niall G. <gal...@ya...> - 2011-05-11 12:17:31
|
To avoid this declare all elements with the same name as entries of the same inline element. This should work for you. All you have to do is keep track of the element names being traversed.
--- On Tue, 10/5/11, Dave Mellors <dav...@gm...> wrote:
From: Dave Mellors <dav...@gm...>
Subject: Re: [Simple-support] Deserialisation of XML document with multiple namespaces
To: sim...@li...
Received: Tuesday, 10 May, 2011, 9:12 AM
Hmm,
I have been trying this, and have used the Visitor implementation
elsewhere, but the exception being thrown regarding the
'sub_element' element being declared twice happens before the
visitor, (and a default VisitorStrategy) has an opportunity to
intercept the processing.
The stack trace is thus...
org.simpleframework.xml.core.PersistenceException: Element 'thing'
declared twice at line 10
at
org.simpleframework.xml.core.Variable$Adapter.read(Variable.java:444)
at
org.simpleframework.xml.core.Variable$Adapter.read(Variable.java:422)
at
org.simpleframework.xml.core.Composite.readVariable(Composite.java:679)
at
org.simpleframework.xml.core.Composite.readInstance(Composite.java:627)
at
org.simpleframework.xml.core.Composite.readUnion(Composite.java:602)
at
org.simpleframework.xml.core.Composite.readElement(Composite.java:585)
at
org.simpleframework.xml.core.Composite.readElements(Composite.java:502)
at
org.simpleframework.xml.core.Composite.readSection(Composite.java:388)
at
org.simpleframework.xml.core.Composite.read(Composite.java:368)
at
org.simpleframework.xml.core.Composite.readDefault(Composite.java:262)
at
org.simpleframework.xml.core.Composite.read(Composite.java:232)
at
org.simpleframework.xml.core.Composite.read(Composite.java:202)
at
org.simpleframework.xml.core.Composite.read(Composite.java:150)
at
org.simpleframework.xml.core.Composite.readVariable(Composite.java:679)
at
org.simpleframework.xml.core.Composite.readInstance(Composite.java:627)
at
org.simpleframework.xml.core.Composite.readUnion(Composite.java:602)
at
org.simpleframework.xml.core.Composite.readElement(Composite.java:585)
at
org.simpleframework.xml.core.Composite.readElements(Composite.java:502)
at
org.simpleframework.xml.core.Composite.readSection(Composite.java:388)
at
org.simpleframework.xml.core.Composite.read(Composite.java:368)
at
org.simpleframework.xml.core.Composite.readDefault(Composite.java:262)
at
org.simpleframework.xml.core.Composite.read(Composite.java:232)
at
org.simpleframework.xml.core.Composite.read(Composite.java:202)
at
org.simpleframework.xml.core.Composite.read(Composite.java:150)
at
org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
at
org.simpleframework.xml.core.Persister.read(Persister.java:632)
at
org.simpleframework.xml.core.Persister.read(Persister.java:613)
at
org.simpleframework.xml.core.Persister.read(Persister.java:591)
at
org.simpleframework.xml.core.Persister.read(Persister.java:550)
at
test.SimpleXmlDeserialisationTest.loadXml(SimpleXmlDeserialisationTest.java:40)
...
The problem appears to be that the stack of registered elements does
not take into account the namespace, and I cannot see how you can
deal with this. Should this really be an enhancement/bug, as the
XML is perfectly valid.
For the moment I have managed to find a potential work around, by
declaring just one java class as a list of inline elements, and then
resolving what I need to do at validate/commit time as necessary.
Regards
Dave Mellors
Subject:
Re: [Simple-support] Deserialisation of XML document with
multiple namespaces
From:
Niall Gallagher <gal...@ya...>
Date:
Mon, 9 May 2011 19:38:08 -0700 (PDT)
To:
sim...@li..., Dave Mellors
<dav...@gm...>
You will have to use a Visitor for this. This will allow you to apply namespaces without the use of annotations. There are examples of Visitors in the test cases and in the tutorial.
--- On Mon, 9/5/11, Dave Mellors <dav...@gm...> wrote:
> From: Dave Mellors <dav...@gm...>
> Subject: [Simple-support] Deserialisation of XML document with multiple namespaces
> To: sim...@li...
> Received: Monday, 9 May, 2011, 9:43 AM
> Hi,
>
> I am attempting to read an xml document which has common
> element names
> across namespaces.
>
> <content>
> <element>
> <name/>
> <xy1:sub_element xmlns:xy1="http://www.xxx.com">
> <xy1:detail_1/>
> <xy1:detail_2/>
> </xy1:sub_element>
> <xy2:sub_element xmlns:xy2="http://www.yyy.com">
> <xy2:something_else/>
> <xy2:something_different/>
> </xy2:sub_element>
> </element>
> </content>
>
> I have tried many ways to resolve this, but come up with
> errors which
> ever way I go, e.g. duplicate annotation in the java class
>
> public class XmlElement {
>
> private String
> name;
>
>
> @Element(name="sub_element")
>
> @Namespace(prefix="xy1", reference="http://www.xxz.com)")
> private ThingOne
> thingOne;
>
>
> @Element(name="sub_element")
>
> @Namespace(prefix="xy2", reference="http://www.xxz.com)")
> private ThingTwo
> thingTwo;
> }
>
> Any ideas as to how this should be done? If I comment
> out the
> 'thingTwo' sub_element, it fails with an exception
> indicating that the
> element 'sub_element' has been declared twice, which seems
> to indicate
> it is ignoring the namespace?
>
> Thanks in anticipation of a solution.
>
> Dave Mellors
>
>
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Dave M. <dav...@gm...> - 2011-05-10 16:12:57
|
Hmm,
I have been trying this, and have used the Visitor implementation
elsewhere, but the exception being thrown regarding the 'sub_element'
element being declared twice happens before the visitor, (and a default
VisitorStrategy) has an opportunity to intercept the processing.
The stack trace is thus...
org.simpleframework.xml.core.PersistenceException: Element 'thing'
declared twice at line 10
at
org.simpleframework.xml.core.Variable$Adapter.read(Variable.java:444)
at
org.simpleframework.xml.core.Variable$Adapter.read(Variable.java:422)
at
org.simpleframework.xml.core.Composite.readVariable(Composite.java:679)
at
org.simpleframework.xml.core.Composite.readInstance(Composite.java:627)
at org.simpleframework.xml.core.Composite.readUnion(Composite.java:602)
at
org.simpleframework.xml.core.Composite.readElement(Composite.java:585)
at
org.simpleframework.xml.core.Composite.readElements(Composite.java:502)
at
org.simpleframework.xml.core.Composite.readSection(Composite.java:388)
at org.simpleframework.xml.core.Composite.read(Composite.java:368)
at
org.simpleframework.xml.core.Composite.readDefault(Composite.java:262)
at org.simpleframework.xml.core.Composite.read(Composite.java:232)
at org.simpleframework.xml.core.Composite.read(Composite.java:202)
at org.simpleframework.xml.core.Composite.read(Composite.java:150)
at
org.simpleframework.xml.core.Composite.readVariable(Composite.java:679)
at
org.simpleframework.xml.core.Composite.readInstance(Composite.java:627)
at org.simpleframework.xml.core.Composite.readUnion(Composite.java:602)
at
org.simpleframework.xml.core.Composite.readElement(Composite.java:585)
at
org.simpleframework.xml.core.Composite.readElements(Composite.java:502)
at
org.simpleframework.xml.core.Composite.readSection(Composite.java:388)
at org.simpleframework.xml.core.Composite.read(Composite.java:368)
at
org.simpleframework.xml.core.Composite.readDefault(Composite.java:262)
at org.simpleframework.xml.core.Composite.read(Composite.java:232)
at org.simpleframework.xml.core.Composite.read(Composite.java:202)
at org.simpleframework.xml.core.Composite.read(Composite.java:150)
at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
at org.simpleframework.xml.core.Persister.read(Persister.java:632)
at org.simpleframework.xml.core.Persister.read(Persister.java:613)
at org.simpleframework.xml.core.Persister.read(Persister.java:591)
at org.simpleframework.xml.core.Persister.read(Persister.java:550)
at
test.SimpleXmlDeserialisationTest.loadXml(SimpleXmlDeserialisationTest.java:40)
...
The problem appears to be that the stack of registered elements does not
take into account the namespace, and I cannot see how you can deal with
this. Should this really be an enhancement/bug, as the XML is perfectly
valid.
For the moment I have managed to find a potential work around, by
declaring just one java class as a list of inline elements, and then
resolving what I need to do at validate/commit time as necessary.
Regards
Dave Mellors
> Subject:
> Re: [Simple-support] Deserialisation of XML document with multiple
> namespaces
> From:
> Niall Gallagher <gal...@ya...>
> Date:
> Mon, 9 May 2011 19:38:08 -0700 (PDT)
>
> To:
> sim...@li..., Dave Mellors
> <dav...@gm...>
>
>
> You will have to use a Visitor for this. This will allow you to apply namespaces without the use of annotations. There are examples of Visitors in the test cases and in the tutorial.
>
> --- On Mon, 9/5/11, Dave Mellors<dav...@gm...> wrote:
>
> > From: Dave Mellors<dav...@gm...>
> > Subject: [Simple-support] Deserialisation of XML document with multiple namespaces
> > To:sim...@li...
> > Received: Monday, 9 May, 2011, 9:43 AM
> > Hi,
> >
> > I am attempting to read an xml document which has common
> > element names
> > across namespaces.
> >
> > <content>
> > <element>
> > <name/>
> > <xy1:sub_element xmlns:xy1="http://www.xxx.com">
> > <xy1:detail_1/>
> > <xy1:detail_2/>
> > </xy1:sub_element>
> > <xy2:sub_element xmlns:xy2="http://www.yyy.com">
> > <xy2:something_else/>
> > <xy2:something_different/>
> > </xy2:sub_element>
> > </element>
> > </content>
> >
> > I have tried many ways to resolve this, but come up with
> > errors which
> > ever way I go, e.g. duplicate annotation in the java class
> >
> > public class XmlElement {
> >
> > private String
> > name;
> >
> >
> > @Element(name="sub_element")
> >
> > @Namespace(prefix="xy1", reference="http://www.xxz.com)")
> > private ThingOne
> > thingOne;
> >
> >
> > @Element(name="sub_element")
> >
> > @Namespace(prefix="xy2", reference="http://www.xxz.com)")
> > private ThingTwo
> > thingTwo;
> > }
> >
> > Any ideas as to how this should be done? If I comment
> > out the
> > 'thingTwo' sub_element, it fails with an exception
> > indicating that the
> > element 'sub_element' has been declared twice, which seems
> > to indicate
> > it is ignoring the namespace?
> >
> > Thanks in anticipation of a solution.
> >
> > Dave Mellors
> >
> >
|
|
From: Niall G. <gal...@ya...> - 2011-05-10 02:39:35
|
Where is defset defined? use the @Text annotation.
--- On Mon, 9/5/11, Saul Kessler <sb...@ny...> wrote:
From: Saul Kessler <sb...@ny...>
Subject: [Simple-support] help Š ElementList?
To: sim...@li...
Received: Monday, 9 May, 2011, 10:01 AM
Please help …
How I get "morally excellent" in this xml. I can get entry id, display_form, and pron.
@Element(name="entry")
public class Entry {
@Attribute
private String id;
@Element(required = false,data=true)
private String display_form;
@Element(required = false,data=true)
private String pron;
@ElementList(inline = true, required = false)
private List<PartOfSpeech> partofspeech;
public String getId() {
return id;
}
public String getDisplay() {
return display_form;
}
public String getPron() {
return pron;
}
public List getPartOfSpeech() {
return partofspeech;
}
}
This does not work …
@Root(strict=false)
public class PartOfSpeech {
@Attribute(required = false)
private String pos;
@ElementList(inline = true, required = false, name="defset",data=true) private List<Defset> defset;
public String getPos(){
return pos;
}
public List getDefset() {
return defset;
}
}
<dictionary query="good" totalresults="9"> <entry source="pdict" id="4086801">
<display_form >
<![CDATA[good]]>
</display_form>
<pron audiofile="http://static-api.dictionary.com/dictstatic/dictionary/audio/lunaWAV/G02/G0255000.wav">
<![CDATA[[g<i>oo</i>d]]]>
</pron>
<partofspeech pos="adjective">
<defset>
<def charcnt="17" defno="1">
<![CDATA[morally excellent]]>
</def>
<def charcnt="27" defno="2">
<![CDATA[of high or adequate quality]]>
</def>
<def charcnt="12" defno="3">
<![CDATA[well-behaved]]>
</def>
<def charcnt="4" defno="4">
<![CDATA[kind]]>
</def>
<def charcnt="5" defno="5">
<![CDATA[valid]]>
</def>
<def charcnt="9" defno="6">
<![CDATA[favorable]]>
</def>
</defset>
</partofspeech>
<partofspeech pos="noun">
<defset>
<def charcnt="19" defno="7">
<![CDATA[profit or advantage]]>
</def>
<def charcnt="6" defno="8">
<![CDATA[virtue]]>
</def>
<def charcnt="11" defno="9">
<![CDATA[possessions]]>
</def>
</defset>
</partofspeech>
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Niall G. <gal...@ya...> - 2011-05-10 02:38:17
|
You will have to use a Visitor for this. This will allow you to apply namespaces without the use of annotations. There are examples of Visitors in the test cases and in the tutorial. --- On Mon, 9/5/11, Dave Mellors <dav...@gm...> wrote: > From: Dave Mellors <dav...@gm...> > Subject: [Simple-support] Deserialisation of XML document with multiple namespaces > To: sim...@li... > Received: Monday, 9 May, 2011, 9:43 AM > Hi, > > I am attempting to read an xml document which has common > element names > across namespaces. > > <content> > <element> > <name/> > <xy1:sub_element xmlns:xy1="http://www.xxx.com"> > <xy1:detail_1/> > <xy1:detail_2/> > </xy1:sub_element> > <xy2:sub_element xmlns:xy2="http://www.yyy.com"> > <xy2:something_else/> > <xy2:something_different/> > </xy2:sub_element> > </element> > </content> > > I have tried many ways to resolve this, but come up with > errors which > ever way I go, e.g. duplicate annotation in the java class > > public class XmlElement { > > private String > name; > > > @Element(name="sub_element") > > @Namespace(prefix="xy1", reference="http://www.xxz.com)") > private ThingOne > thingOne; > > > @Element(name="sub_element") > > @Namespace(prefix="xy2", reference="http://www.xxz.com)") > private ThingTwo > thingTwo; > } > > Any ideas as to how this should be done? If I comment > out the > 'thingTwo' sub_element, it fails with an exception > indicating that the > element 'sub_element' has been declared twice, which seems > to indicate > it is ignoring the namespace? > > Thanks in anticipation of a solution. > > Dave Mellors > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective > network > management toolset available today. Delivers lowest > initial > acquisition cost and overall TCO of any competing > solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |
|
From: Saul K. <sb...@ny...> - 2011-05-09 17:29:31
|
Please help
How I get "morally excellent" in this xml. I can get entry id, display_form,
and pron.
@Element(name="entry")
public class Entry {
@Attribute
private String id;
@Element(required = false,data=true)
private String display_form;
@Element(required = false,data=true)
private String pron;
@ElementList(inline = true, required = false)
private List<PartOfSpeech> partofspeech;
public String getId() {
return id;
}
public String getDisplay() {
return display_form;
}
public String getPron() {
return pron;
}
public List getPartOfSpeech() {
return partofspeech;
}
}
This does not work
@Root(strict=false)
public class PartOfSpeech {
@Attribute(required = false)
private String pos;
@ElementList(inline = true, required = false, name="defset",data=true)
private List<Defset> defset;
public String getPos(){
return pos;
}
public List getDefset() {
return defset;
}
}
<dictionary query="good" totalresults="9">
<entry source="pdict" id="4086801">
<display_form >
<![CDATA[good]]>
</display_form>
<pron
audiofile="http://static-api.dictionary.com/dictstatic/dictionary/audio/luna
WAV/G02/G0255000.wav">
<![CDATA[[g<i>oo</i>d]]]>
</pron>
<partofspeech pos="adjective">
<defset>
<def charcnt="17" defno="1">
<![CDATA[morally excellent]]>
</def>
<def charcnt="27" defno="2">
<![CDATA[of high or adequate quality]]>
</def>
<def charcnt="12" defno="3">
<![CDATA[well-behaved]]>
</def>
<def charcnt="4" defno="4">
<![CDATA[kind]]>
</def>
<def charcnt="5" defno="5">
<![CDATA[valid]]>
</def>
<def charcnt="9" defno="6">
<![CDATA[favorable]]>
</def>
</defset>
</partofspeech>
<partofspeech pos="noun">
<defset>
<def charcnt="19" defno="7">
<![CDATA[profit or advantage]]>
</def>
<def charcnt="6" defno="8">
<![CDATA[virtue]]>
</def>
<def charcnt="11" defno="9">
<![CDATA[possessions]]>
</def>
</defset>
</partofspeech>
|
|
From: Dave M. <dav...@gm...> - 2011-05-09 16:58:58
|
Hi, I am attempting to read an xml document which has common element names across namespaces. <content> <element> <name/> <xy1:sub_element xmlns:xy1="http://www.xxx.com"> <xy1:detail_1/> <xy1:detail_2/> </xy1:sub_element> <xy2:sub_element xmlns:xy2="http://www.yyy.com"> <xy2:something_else/> <xy2:something_different/> </xy2:sub_element> </element> </content> I have tried many ways to resolve this, but come up with errors which ever way I go, e.g. duplicate annotation in the java class public class XmlElement { private String name; @Element(name="sub_element") @Namespace(prefix="xy1", reference="http://www.xxz.com)") private ThingOne thingOne; @Element(name="sub_element") @Namespace(prefix="xy2", reference="http://www.xxz.com)") private ThingTwo thingTwo; } Any ideas as to how this should be done? If I comment out the 'thingTwo' sub_element, it fails with an exception indicating that the element 'sub_element' has been declared twice, which seems to indicate it is ignoring the namespace? Thanks in anticipation of a solution. Dave Mellors |
|
From: Dirk D. <dir...@vm...> - 2011-05-05 10:41:42
|
2011/5/1 Dirk Dinger <dir...@go...> > Hello SimpleXML Users !, > > Just started with SimpleXML on Android, since I have to consume a XML > defined by my customer from an android app. > I have problems to get the "Gesamt" attribute from the <Stellen> Element > deserialized, as shown in the XML example below > > <?xml version="1.0" encoding="UTF-8"?> > <Result xsi:noNamespaceSchemaLocation= > "http://services.odav.de/lehrstellenradar/result.xsd" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"> > <Content> > <*Stellen Gesamt="30">* > <Stelle> > <id>74_4911</id> > <Typ>Lehrstelle</Typ> > <Anzahl>1</Anzahl> > <Beruf>Fahrzeuglackierer/in</Beruf> > <Fachrichtung>Keine Fachrichtung</Fachrichtung> > <Beginn>01.09.10</Beginn> > <Featured>0</Featured> > <Link> > http://www.hwk-muenchen.de/74,0,jobboarddetail.html?lcj_id=xxx</Link> > > </Stelle> > <Stelle> > <id>74_4910</id> > <Typ>Lehrstelle</Typ> > <Anzahl>1</Anzahl> > <Beruf>Karosserie- und Fahrzeugbaumechaniker/in</Beruf> > <Fachrichtung>Keine Fachrichtung</Fachrichtung> > <Beginn>01.09.10</Beginn> > <Featured>0</Featured> > <Link> > http://www.hwk-muenchen.de/74,0,jobboarddetail.html?lcj_id=xxx</Link> > > </Stelle> > </Stellen> > </Content> > </Result> > > I have defined the following classes to deserialize the result > > package de.vmapit.dto; > > @Root(strict=false) > public class GetRecentJobListResult { > > @Element(name="Content") > public Stellen content; > > } > > @Element(name="Stellen") > public class Stellen implements Serializable { > > @ElementList(name="Stellen") > public List<Stelle> stellen; > > @Attribute(name="Gesamt") > public String gesamt; > } > > > If I execute > > GetRecentJobListResult res = > serializer.read(GetRecentJobListResult.class, new File("stellen.xml"), > false); > > the following execption gets thrown: > > org.simpleframework.xml.core.ValueRequiredException: > Unable to satisfy @org.simpleframework.xml.Attribute(name=Gesamt, empty=, > required=true) on field 'gesamt' public java.lang.String > de.vmapit.dto.Stellen.gesamt for class de.vmapit.dto.Stellen at line 3 > > Can anyone tell me, what I do wrong ? > > Regards, > Dirk > |
|
From: Niall G. <gal...@ya...> - 2011-05-05 10:37:27
|
Ya, another user mentioned this, KXML is a best effort parser in that it does not strictly validate the XML. I have a fix in for the stack overflow error, ill be releasing a fix for this shortly.
--- On Tue, 3/5/11, Francois D. Barnard <fba...@gm...> wrote:
From: Francois D. Barnard <fba...@gm...>
Subject: [Simple-support] Persister read exceptions
To: sim...@li...
Received: Tuesday, 3 May, 2011, 8:18 AM
I am currently working on my exception handeling. There is some funnies that i did not expect...
@Root(name = "Manifest", strict = false)
public class ClassX { }
<?xml version="1.0" encoding="utf-8" ?>
<Manifest/>
Now this works fine. But if i change it to this ( no starting '<' at manifest)
<?xml version="1.0" encoding="utf-8" ?>
Manifest/>
i get this
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): FATAL EXCEPTION: main
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): java.lang.StackOverflowError
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.kxml2.io.KXmlParser.peekType(KXmlParser.java:589)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:333)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.kxml2.io.KXmlParser.next(KXmlParser.java:1385)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:104)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
then when i have this xml ( no starting '<' at manifest)
<?xml version="1.0" encoding="utf-8" ?>
Manifest>
</Manifest>
it throws a xmlpull exception thats fine but if i have this ( no starting '<' at manifest)
<?xml version="1.0" encoding="utf-8" ?>
Manifest>
<Transforms/>
</Manifest>
it throws nothing it just returns empty (not null) object
thanks
--
Francois D. Barnard
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Niall G. <gal...@ya...> - 2011-05-05 10:33:54
|
Your list needs to be inline @ElementList (name="feature", required= false, inline=true)
--- On Tue, 3/5/11, Arjan Duijs <arj...@gm...> wrote:
From: Arjan Duijs <arj...@gm...>
Subject: [Simple-support] model notation for example below
To: sim...@li...
Received: Tuesday, 3 May, 2011, 6:55 AM
Hi All,
In my XML i got the following structure, but with everything i try to write in the model, i keep getting nullpointerexceptions on the <feature>
How is <feature> being treated in this example? Element? List? Array? something else?
<features>
<class-features>
<class-feature>
<name>Druid</name>
<feature>Proficiency: Armor, Light</feature>
<feature>Nature Sense</feature>
<feature>Spells</feature>
<feature>Proficiency: Armor, Medium</feature>
<feature>Wild Empathy (5+Cha.Mod)</feature>
<feature>Animal Companion</feature>
<feature>Druidic weapons</feature>
<feature>Proficiency: Shields</feature>
<feature>Spontaneous casting (Druid)</feature>
<feature>Secret Language: Druidic</feature>
<feature>Woodland Stride</feature>
<feature>Trackless Step</feature>
<feature>Resist Nature`s Lure</feature>
<feature>Wild Shape: 1x/day</feature>
<feature>Wild Shape (Small, Medium)</feature>
</class-feature>
</class-features>
</features>
Classes:
-------------------------------------------------------
ClassFeatures Class
-------------------------------------------------------
@Element(name="class-feature")
public class ClassFeatures {
@Element(name="name", required = false)
public String name;
@ElementList (name="feature", required= false)
public List<ClassFeatureList> feature;
}
-------------------------------------------------------
ClassFeatureList Class
-------------------------------------------------------
@Element(name="class-feature")
public class ClassFeatureList {
@Element(name="feature",required=false)
public String feature;
}
thanks
Arjan
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Niall G. <gal...@ya...> - 2011-05-05 10:31:10
|
annotate the list with @ElementList(inline=true) this will flatten the list
--- On Tue, 3/5/11, jo desmet <jd...@gm...> wrote:
From: jo desmet <jd...@gm...>
Subject: [Simple-support] flattening structure xml support
To: Sim...@li...
Received: Tuesday, 3 May, 2011, 4:38 AM
Hi,
I need to marshal/unmarsal a structure in a "flattened way", a simplified example stating the concept is below.The exact structure can be slightly different, the critical point is that all nested objects should become on the global level.
Can anyone tell me if and how this is possible ?
thx in advance,
Jo
public class Example { private String name;
private List<SubItem> items;}
public class SubItem { private integer id;}
all subitems should be on the root level, so this should be represented as :
<root> <example id="1"> <name>Test</name> </example> <subItem id="1"> <id>2</id>
<parent ref="1" type="example"/> </subItem> <subItem id="2"> <id>4</id> <parent ref="1" type="example"/>
</subItem></root>
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Francois D. B. <fba...@gm...> - 2011-05-03 15:18:44
|
I am currently working on my exception handeling. There is some funnies
that i did not expect...
@Root(name = "Manifest", strict = *false*)
*public* *class* ClassX { }
<?xml version="1.0" encoding="utf-8" ?>
<Manifest/>
Now this works fine. But if i change it to this ( no starting '<' at
manifest)
<?xml version="1.0" encoding="utf-8" ?>
Manifest/>
i get this
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): FATAL EXCEPTION: main
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): java.lang.StackOverflowError
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.kxml2.io.KXmlParser.peekType(KXmlParser.java:589)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:333)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.kxml2.io.KXmlParser.next(KXmlParser.java:1385)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:104)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
05-03 17:02:11.370: ERROR/AndroidRuntime(4192): at
org.simpleframework.xml.stream.PullReader.read(PullReader.java:115)
then when i have this xml ( no starting '<' at manifest)
<?xml version="1.0" encoding="utf-8" ?>
Manifest>
</Manifest>
it throws a xmlpull exception thats fine but if i have this ( no starting
'<' at manifest)
<?xml version="1.0" encoding="utf-8" ?>
Manifest>
<Transforms/>
</Manifest>
it throws nothing it just returns empty (not null) object
thanks
--
Francois D. Barnard
|
|
From: Arjan D. <arj...@gm...> - 2011-05-03 13:55:32
|
Hi All,
In my XML i got the following structure, but with everything i try to write
in the model, i keep getting nullpointerexceptions on the <feature>
How is <feature> being treated in this example? Element? List? Array?
something else?
<features>
<class-features>
<class-feature>
<name>Druid</name>
<feature>Proficiency: Armor, Light</feature>
<feature>Nature Sense</feature>
<feature>Spells</feature>
<feature>Proficiency: Armor, Medium</feature>
<feature>Wild Empathy (5+Cha.Mod)</feature>
<feature>Animal Companion</feature>
<feature>Druidic weapons</feature>
<feature>Proficiency: Shields</feature>
<feature>Spontaneous casting (Druid)</feature>
<feature>Secret Language: Druidic</feature>
<feature>Woodland Stride</feature>
<feature>Trackless Step</feature>
<feature>Resist Nature`s Lure</feature>
<feature>Wild Shape: 1x/day</feature>
<feature>Wild Shape (Small, Medium)</feature>
</class-feature>
</class-features>
</features>
Classes:
-------------------------------------------------------
ClassFeatures Class
-------------------------------------------------------
@Element(name="class-feature")
public class ClassFeatures {
@Element(name="name", required = false)
public String name;
@ElementList (name="feature", required= false)
public List<ClassFeatureList> feature;
}
-------------------------------------------------------
ClassFeatureList Class
-------------------------------------------------------
@Element(name="class-feature")
public class ClassFeatureList {
@Element(name="feature",required=false)
public String feature;
}
thanks
Arjan
|
|
From: jo d. <jd...@gm...> - 2011-05-03 11:38:07
|
Hi,
I need to marshal/unmarsal a structure in a "flattened way", a simplified
example stating the concept is below.
The exact structure can be slightly different, the critical point is that
all nested objects should become on the global level.
Can anyone tell me if and how this is possible ?
thx in advance,
Jo
public class Example {
private String name;
private List<SubItem> items;
}
public class SubItem {
private integer id;
}
all subitems should be on the root level, so this should be represented as :
<root>
<example id="1">
<name>Test</name>
</example>
<subItem id="1">
<id>2</id>
<parent ref="1" type="example"/>
</subItem>
<subItem id="2">
<id>4</id>
<parent ref="1" type="example"/>
</subItem>
</root>
|
|
From: Alec P. <al...@et...> - 2011-05-01 01:10:29
|
I would like to use the simple framework to instantiate objects from compiled xml resources (from the /res/xml directory) in an Android app. I've explored this a little bit, and here are the issues I've come across so far: 1) I need to start the framework using an existing XmlPullParser (obtained from Resources.getXml()). I can't do that when PullReader has default visibility and NodeBuilder.read(EventReader) is private. (I got past this by forking the framework code). 2) XmlResourceParser (the concrete class that you get from Resources.getXml()) throws an exception when you call getNamespace() and getAttributeNamespace(). (I got past this by changing PullReader not to call those methods.) 3) The values returned are the raw string values provided. What I'd like to retrieve are the referenced resources (so instead of "@string/some_string" I would like the value to be "some string value"). I stopped here to see if anybody else has looked into the problem. I suspect that the right way to do this is to write a class implementing the InputNode interface to wrap around XmlResourceParser. This may not be faster than using a "raw" xml file, but I would like to leverage the resource localization of the Android framework. |
|
From: Niall G. <gal...@ya...> - 2011-04-29 23:48:53
|
loadedSources does not exist in the XML, make the associated annotation required=false.
--- On Fri, 29/4/11, Arjan Duijs <arj...@gm...> wrote:
From: Arjan Duijs <arj...@gm...>
Subject: [Simple-support] ValueRequiredException
To: sim...@li...
Received: Friday, 29 April, 2011, 9:02 AM
Hi,
I am getting the following exception:
04-29 15:50:15.548: VERBOSE/MyActivity(831): XML Parsing Exception = org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.ElementList(data=false, empty=true, entry=, inline=false, name=, required=true, type=void) on field 'loadedSources' public java.util.List com.arjan.pctools.model.Options.loadedSources for class com.arjan.pctools.model.Options at line 13
I dont really get the exception, since i do nothing different then an elementlist earlier in the Options.class.
any idea on what this (can) mean?
file options.class:
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import com.arjan.pctools.model.Gamemode;
import com.arjan.pctools.model.LoadedSources;
@Element(name="options")
public class Options {
@ElementList
public List<Gamemode> gamemode;
@Element(required=false)
public int revisedWeaponMode;
@Element(required=false)
public int spellSorting;
@Element(required=false)
public int textOffhandIndication;
@Element(required=false)
public int armorAsDamageReduction;
@ElementList
public List<LoadedSources> loadedSources;
}
Class LoadedSources:
package com.arjan.pctools.model;
import java.util.List;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
@Element(name="loadedSources")
public class LoadedSources {
@ElementList
public List<Name> name;
@Element(name="name")
public class Name {
@ElementList
public String name;
}
}
and the XML that is loaded:
<?xml version="1.0" encoding="UTF-8"?>
<character>
<etools-version>1.5.666</etools-version>
<name>Vangkor</name>
<player>Eric Noah</player>
<gender>Male</gender>
<hair>Black, balding</hair>
<eyes>Dark brown</eyes>
<race>Half-Orc</race>
<experience>67145</experience>
<options>
<gamemode>
<name>D&&D v3.0e</name>
<index>0</index>
<style>0</style>
<dbase>Database_v30e.mdb</dbase>
</gamemode>
<revised-weapon-mode>0</revised-weapon-mode>
<spell-sorting>-1</spell-sorting>
<text-offhand-indication>0</text-offhand-indication>
<armor-as-damage-reduction>0</armor-as-damage-reduction>
<loaded-sources>
<name>Players Handbook 3e</name>
<name>Dungeon Masters Guide 3e</name>
<name>Monster Manual 3e</name>
</loaded-sources>
</options>
</character>
thanks
Arjan
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Niall G. <gal...@ya...> - 2011-04-29 23:47:50
|
The same way, there should be no difference. --- On Fri, 29/4/11, Arjan Duijs <arj...@gm...> wrote: From: Arjan Duijs <arj...@gm...> Subject: [Simple-support] element value from within elementlist To: sim...@li... Received: Friday, 29 April, 2011, 5:57 AM Hi, below is a snipped from my XML file. <character> <etools-version>1.5.666</etools-version> <name>Vangkor</name> <player>Eric Noah</player> <gender>Male</gender> <hair>Black, balding</hair> <eyes>Dark brown</eyes> <race>Half-Orc</race> <experience>67145</experience> <options> <gamemode> <name>D&&D v3.0e</name> <index>0</index> <style>0</style> <dbase>Database_v30e.mdb</dbase> </gamemode> <revised-weapon-mode>0</revised-weapon-mode> <spell-sorting>-1</spell-sorting> <text-offhand-indication>0</text-offhand-indication> <armor-as-damage-reduction>0</armor-as-damage-reduction> <loaded-sources> <name>Players Handbook 3e</name> <name>Dungeon Masters Guide 3e</name> <name>Monster Manual 3e</name> </loaded-sources> </options> </character> I created all the model classes as per tutorial, and am able to load them in my main java file. Character character = serializer.read(Character.class, xmlData, false); I can access the value of <name> by simply saying: character.name and it gives me the value Vangkor... but to get the value of an element in <options> doesnt work that way.. how do i retrieve the value of ..lets say: <text-offhand-indication> ? thanks Arjan -----Inline Attachment Follows----- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |
|
From: Arjan D. <arj...@gm...> - 2011-04-29 16:02:26
|
Hi,
I am getting the following exception:
04-29 15:50:15.548: VERBOSE/MyActivity(831): XML Parsing Exception =
org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy
@org.simpleframework.xml.ElementList(data=false, empty=true, entry=,
inline=false, name=, required=true, type=void) on field 'loadedSources'
public java.util.List com.arjan.pctools.model.Options.loadedSources for
class com.arjan.pctools.model.Options at line 13
I dont really get the exception, since i do nothing different then an
elementlist earlier in the Options.class.
any idea on what this (can) mean?
file options.class:
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import com.arjan.pctools.model.Gamemode;
import com.arjan.pctools.model.LoadedSources;
@Element(name="options")
public class Options {
@ElementList
public List<Gamemode> gamemode;
@Element(required=false)
public int revisedWeaponMode;
@Element(required=false)
public int spellSorting;
@Element(required=false)
public int textOffhandIndication;
@Element(required=false)
public int armorAsDamageReduction;
@ElementList
public List<LoadedSources> loadedSources;
}
Class LoadedSources:
package com.arjan.pctools.model;
import java.util.List;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
@Element(name="loadedSources")
public class LoadedSources {
@ElementList
public List<Name> name;
@Element(name="name")
public class Name {
@ElementList
public String name;
}
}
and the XML that is loaded:
<?xml version="1.0" encoding="UTF-8"?>
<character>
<etools-version>1.5.666</etools-version>
<name>Vangkor</name>
<player>Eric Noah</player>
<gender>Male</gender>
<hair>Black, balding</hair>
<eyes>Dark brown</eyes>
<race>Half-Orc</race>
<experience>67145</experience>
<options>
<gamemode>
<name>D&&D v3.0e</name>
<index>0</index>
<style>0</style>
<dbase>Database_v30e.mdb</dbase>
</gamemode>
<revised-weapon-mode>0</revised-weapon-mode>
<spell-sorting>-1</spell-sorting>
<text-offhand-indication>0</text-offhand-indication>
<armor-as-damage-reduction>0</armor-as-damage-reduction>
<loaded-sources>
<name>Players Handbook 3e</name>
<name>Dungeon Masters Guide 3e</name>
<name>Monster Manual 3e</name>
</loaded-sources>
</options>
</character>
thanks
Arjan
|
|
From: Arjan D. <arj...@gm...> - 2011-04-29 12:57:40
|
Hi,
below is a snipped from my XML file.
<character>
<etools-version>1.5.666</etools-version>
<name>Vangkor</name>
<player>Eric Noah</player>
<gender>Male</gender>
<hair>Black, balding</hair>
<eyes>Dark brown</eyes>
<race>Half-Orc</race>
<experience>67145</experience>
<options>
<gamemode>
<name>D&&D v3.0e</name>
<index>0</index>
<style>0</style>
<dbase>Database_v30e.mdb</dbase>
</gamemode>
<revised-weapon-mode>0</revised-weapon-mode>
<spell-sorting>-1</spell-sorting>
<text-offhand-indication>0</text-offhand-indication>
<armor-as-damage-reduction>0</armor-as-damage-reduction>
<loaded-sources>
<name>Players Handbook 3e</name>
<name>Dungeon Masters Guide 3e</name>
<name>Monster Manual 3e</name>
</loaded-sources>
</options>
</character>
I created all the model classes as per tutorial, and am able to load them in
my main java file.
Character character = serializer.read(Character.class, xmlData, false);
I can access the value of <name> by simply saying: character.name and it
gives me the value Vangkor...
but to get the value of an element in <options> doesnt work that way..
how do i retrieve the value of ..lets say: <text-offhand-indication> ?
thanks
Arjan
|
|
From: Niall G. <gal...@ya...> - 2011-04-29 11:58:37
|
Actually I think you need
@ElementList(inline=true, entry="name")
private List<String> name;
--- On Fri, 29/4/11, Niall Gallagher <gal...@ya...> wrote:
From: Niall Gallagher <gal...@ya...>
Subject: Re: [Simple-support] Problem with deserializing complex types (several lists)
To: "sim...@li..." <sim...@li...>, "Alex Chuprinin" <Ale...@so...>
Received: Friday, 29 April, 2011, 4:56 AM
Hi,
This looks like it should work. Is there any error here?
--- On Fri, 29/4/11, Alex Chuprinin <Ale...@so...> wrote:
From: Alex Chuprinin <Ale...@so...>
Subject: [Simple-support] Problem with deserializing complex types (several lists)
To: "sim...@li..." <sim...@li...>
Received: Friday, 29 April, 2011, 2:31 AM
Hello,
first of all, thanks for the great framework!
In your samples you did not specify the case like this:
-------------------------- properties.xml ------------------
<?xml version="1.0" encoding="UTF-8"?>
<propertyList>
<name>example1</name>
<name>example2</name>
<name>example3</name>
<entry key="one">
<value>first value</value>
</entry>
<entry key="two">
<value>second value</value>
</entry>
<entry key="three">
<value>third value</value>
</entry>
</propertyList>
-----------------------------------------------------
the case is I need to dig thru two lists within one parent element - how this can be done?
the code below is not working (neither with inline=true or not)
------------------------ Entry.java -------------------
@Root
public class Entry {
@Attribute
protected String key;
@Element
protected String value;
public String getKey() {
return key;
}
}
// ------------------------ PropertyList.java -------------------
@Root
public class PropertyList {
@ElementList(inline=true)
private List<String> name;
@ElementList(inline=true)
private List<Entry> list;
public List<String> getName() {
return name;
}
public List getList() {
return list;
}
}
thanks in advance!
Alex.
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Niall G. <gal...@ya...> - 2011-04-29 11:56:08
|
Hi,
This looks like it should work. Is there any error here?
--- On Fri, 29/4/11, Alex Chuprinin <Ale...@so...> wrote:
From: Alex Chuprinin <Ale...@so...>
Subject: [Simple-support] Problem with deserializing complex types (several lists)
To: "sim...@li..." <sim...@li...>
Received: Friday, 29 April, 2011, 2:31 AM
Hello,
first of all, thanks for the great framework!
In your samples you did not specify the case like this:
-------------------------- properties.xml ------------------
<?xml version="1.0" encoding="UTF-8"?>
<propertyList>
<name>example1</name>
<name>example2</name>
<name>example3</name>
<entry key="one">
<value>first value</value>
</entry>
<entry key="two">
<value>second value</value>
</entry>
<entry key="three">
<value>third value</value>
</entry>
</propertyList>
-----------------------------------------------------
the case is I need to dig thru two lists within one parent element - how this can be done?
the code below is not working (neither with inline=true or not)
------------------------ Entry.java -------------------
@Root
public class Entry {
@Attribute
protected String key;
@Element
protected String value;
public String getKey() {
return key;
}
}
// ------------------------ PropertyList.java -------------------
@Root
public class PropertyList {
@ElementList(inline=true)
private List<String> name;
@ElementList(inline=true)
private List<Entry> list;
public List<String> getName() {
return name;
}
public List getList() {
return list;
}
}
thanks in advance!
Alex.
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
-----Inline Attachment Follows-----
_______________________________________________
Simple-support mailing list
Sim...@li...
https://lists.sourceforge.net/lists/listinfo/simple-support
|
|
From: Niall G. <gal...@ya...> - 2011-04-29 11:52:43
|
Hi, This needs to be optional, its missing from the second element. @Attribute(name="Gesamt", required=false) public String gesamt; --- On Thu, 28/4/11, Dirk Dinger <dir...@vm...> wrote: From: Dirk Dinger <dir...@vm...> Subject: [Simple-support] Problem parsing attribute To: sim...@li... Received: Thursday, 28 April, 2011, 5:39 AM Hello SimpleXML Users !, Just started with SimpleXML on Android, since I have to consume a XML defined by my customer from an android app. I have problems to get the "Gesamt" attribute from the <Stellen> Element deserialized, as shown in the XML example below <?xml version="1.0" encoding="UTF-8"?> <Result xsi:noNamespaceSchemaLocation="http://services.odav.de/lehrstellenradar/result.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Content> <Stellen Gesamt="30"> <Stelle> <id>74_4911</id> <Typ>Lehrstelle</Typ> <Anzahl>1</Anzahl> <Beruf>Fahrzeuglackierer/in</Beruf> <Fachrichtung>Keine Fachrichtung</Fachrichtung> <Beginn>01.09.10</Beginn> <Featured>0</Featured> <Link>http://www.hwk-muenchen.de/74,0,jobboarddetail.html?lcj_id=xxx</Link> </Stelle> <Stelle> <id>74_4910</id> <Typ>Lehrstelle</Typ> <Anzahl>1</Anzahl> <Beruf>Karosserie- und Fahrzeugbaumechaniker/in</Beruf> <Fachrichtung>Keine Fachrichtung</Fachrichtung> <Beginn>01.09.10</Beginn> <Featured>0</Featured> <Link>http://www.hwk-muenchen.de/74,0,jobboarddetail.html?lcj_id=xxx</Link> </Stelle> </Stellen> </Content> </Result> I have defined the following classes to deserialize the result package de.vmapit.dto; @Root(strict=false) public class GetRecentJobListResult { @Element(name="Content") public Stellen content; } @Element(name="Stellen") public class Stellen implements Serializable { @ElementList(name="Stellen") public List<Stelle> stellen; @Attribute(name="Gesamt") public String gesamt; } If I execute GetRecentJobListResult res = serializer.read(GetRecentJobListResult.class, new File("stellen.xml"), false); the following execption gets thrown: org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Attribute(name=Gesamt, empty=, required=true) on field 'gesamt' public java.lang.String de.vmapit.dto.Stellen.gesamt for class de.vmapit.dto.Stellen at line 3 Can anyone tell me, what I do wrong ? Regards, Dirk -----Inline Attachment Follows----- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |