Hello folks,
Codehaus will shut down soon and XStream has therefore a new home at Github
(http://x-stream.github.io/).
This will also affect our mailing lists. We already opened a new one at
Google Groups, this time one single list for users and developers
Hi Abhi,
Abhiram Panyam wrote:
Jörg Schaible joerg.schaible@... writes:
Hi Abhi,
You can register a JavaBeanConverter to handle OfferVO:
JavaBeanProvider beanProvider = new JavaBeanProvider();
xstream.registerConverter(new JavaBeanConverter(xstream.getMapper(),
beanProvider
Hi Abhi,
Abhiram Panyam wrote:
I would like to know if I can serialize methods in addition to fields. For
instance, I have the following class
public class offerVO {
private Long offerId;
private String offer;
public OfferVO() {
}
public Long
Hi Geoff,
Geoff Groos wrote:
Hey J?rg,
Thanks for the note about enums, I had it in my head that enum's have been
in java like that since 1.0. This explains why so many APIs inside java
are using int constants.
Anyways, my todos:
*
revert the method signatures to maintain binary
Hi Geoff,
Geoff Groos wrote:
Hey guys,
I’m wondering what you guys think of XStream + the new (java 1.8)
java.time library.
Someone has to start :-)
I’ve started replacing joda.time uses with java.time ones (as encouraged
by the Joda time guys themselves) and I only noticed when I ran
Hi Alex,
Alex Y. Matiash wrote:
Hello world!
I've tried to google as hard as I can, but I didn't find an answer for my
problems.
1. The problem is that due to some reason our protocol has identical XML
structure for all packets, so I can't create permanent aliases, neither
using
Hi Tobias,
Tobias Gierke wrote:
Hi,
We recently started getting weird XStream errors on code that was
previously working fine. IMHO some (seemingly unreleated) change causes
the serialization to output bad XML and this in turn makes the
deserialization fall over later on.
The error
Hi Luiz,
Felipe wrote:
Good morning everyone,
I need help on something:
I'm trying to unmarshall from a huge XML into ValueObjects, but I keep
getting erros, and I'm trying like crazy to make this work, but it has
been a little hard. I've been using XStream for years and it always
Hi Bruce,
Bruce Link wrote:
I believe that xStream being compiled against Java 8 removes the ability
for XStream to be used as a drop in module in android 4.4.
When I use 1.4.8 in eclipse as a module for my Android 4.4 project, I
receive a compile error along the lines of:
UNEXPECTED
Hi,
manoj wrote:
I have xml with empty tag. while calling below code i am getting
conversion exception.
public static T T xmlToVoConversion(String data , ClassT
genericType) {
XStream stream = new XStream( );
stream.processAnnotations(genericType);
T convertedObject = (T)
Hi Geoff,
Geoff Groos wrote:
Hey guys,
We’re just about to go to version 1.0, so I’m running over every piece of
tech-debt I can think of to make sure all my ducks are in a row, and I
found this in our project file (an XML serialized model):
ProjectState.ImmutableMomento
Hello followers,
a new maintenace release of XStreeam has been released as version 1.4.8. It is
supposed to be a simple drop-in replacement. Some minor bugs have been fixed,
improves the support for serializable lambda expressions in Java 8 and
detects Java 9. Support is still available for
Hi Jason,
Jason Steenstrapickens wrote:
Hi,
We have recently been experiencing issues deserialising XML with specific
time zones. This only seems to be occurring on Windows where the time zone
does not have an Id that is in the available list of Ids. It seems this is
caused by Windows
Hi Miccio,
郝强_BYR wrote:
Hi,
I use xstream to read and write xml file in my project, and I
encounter a problem. In the project, there's an xml configuration
file, but it is used by two programs. The other program may add some
unknown tags which are the tags of xml file
Hi Tobias,
Tobias Gierke wrote:
Hi Jörg,
I created a JIRA issue: http://jira.codehaus.org/browse/XSTR-767
thanks. Can you also provide the generated XML for the relevant structure?
Thanks for looking into this!
Cheers,
Jörg
Cheers,
Tobias
Hi Tobias,
it seems you're the first
Hello Brice,
Brice Vandeputte wrote:
2014-12-10 11:27 GMT+01:00 Brice
I check java.util.regex.Pattern which is available since 1.4...
but this class seems not available on J9 JVM.
My J9 has no problems with it:
[INFO]
Hi Petr,
Petr Adamec wrote:
Hi Jörg,
I found error in my code. Now I can skip fields which are new. It is ok.
Can I write skipped fields into log file, if I use override wrapMapper?
sure, you can log in any play you want. :-)
- Jörg
Hi Johann,
sorry for the late response, but I was on holidays and try to clear the
backlog slowly again.
Johann Kerdal wrote:
Hi guys,
I need to unmarshall an XML document to a
linkedHashMapString,ColumnAttributes
The XML document I get from the server system is containing the list of
Hi Charles,
sorry for the delay, working on the backlog ...
Charles Colbourn wrote:
Hi
I've stumbled over a bit of an oddity with Xstream across these two
versions of Android.
actually I have no Android, so I can only assume ...
If you have an annotated field:
@XStreamImplicit
Hi Ming,
Huang, Ming wrote:
Hi
We recently updated xstream from from version 1.3.1 to 1.4.7 in our
application. We found that the application would sometimes hang. Doing
jstack and found that the threads were in the lines of at
no
further administrative rights.
Cheers,
Jörg
Thanks,
Gabriel
On Mon, Jun 30, 2014 at 6:57 PM, Jörg Schaible
joerg.schai...@gmx.de wrote:
Hi Gabriel,
Gabriel Rossetti wrote:
Hi all,
I have an issue un-serializing a class with a generic type. Here is an
example:
public
Hi Jean-Marc,
gempe...@xs4all.nl wrote:
Hi All,
I'm using XSTREAM for Android and since Samsung updated the NOTE 2 to
4.4.2 I have this error
Android XSTREAM W/dalvikvm no implementation found for native
Ldalvik/system/VMRuntime;.pauseGc:(Ljava/lang/String;)I on Samsung device
This
Hi Gabriel,
Gabriel Rossetti wrote:
Hi all,
I have custom converters which call other converters, currently I call
context.convertAnother() but this takes time since it cycles through the
converters and calls canConvert()
Only once, the selection is cached.
(even though I gave it the
Hi Lewis,
Lewis John Mcgibbney wrote:
Hi Folks,
I work on an object-to-datastore mapping framework called Apache Gora [0]
and recently came across XStream for simplying data modeling in Gora.
I really like the project you guys are working on but i wonder if you can
answer me one question.
Hi,
kokori...@gmail.com wrote:
Hello, XStream users!
I ported XStream to AS3 and called that library AStream. You can see it
here: https://github.com/kokorin/AStream
AStream currently supports:
- Primitive types (int, uint, Number, String, Boolean and null)
- Complex types
- Enums
Hi John,
js wrote:
hi,
I'll eventually figure this out, but i have been struggling for at least 2
days trying to unmarshall the simplest xml.. i must really be getting
frustrated if i resorted to emailing the open source developers.. anyway:
all i want to do is unmarshall a simple xml
Jörg Schaible wrote:
Hi Raj,
Raj wrote:
Hi
Thanks for quick repsonses.
I have map below.
MapString,SetString desksDetails = new HashMapString,
SetString();
Map key is ABC
and value is Set holding usernames.
I want to covert this into xml like
desk name=ABC
user
Hi Raj,
Raj wrote:
Hi
Thanks for quick repsonses.
I have map below.
MapString,SetString desksDetails = new HashMapString, SetString();
Map key is ABC
and value is Set holding usernames.
I want to covert this into xml like
desk name=ABC
user name=rpaynter/
user
Hi Raj,
Raj wrote:
Hi
I have spend lot of time but could not create xml like
How to achieve xml like
person
user fn=Joe/
lastnameWalnes/lastname
/person
If i have person object like
public class Person {
private String firstname;
private String lastname;
}
The above
Hi Geoffrey,
Geoffrey De Smet wrote:
How do I model a singleton field of a supertype of several types with
different element names?
I have these classes:
@XStreamAlias(house)
public class House {
@XStreamImplicit()
private ListAnimal animalList;
}
Hi Derek,
Trumbo, Derek wrote:
Hello,
I had some trouble researching whether or not this was still an issue, so
I apologize in advance if this too commonly asked. I saw a post from a
long time ago indicating that readResolve is not called on an object that
implements Externalizable. I
Hi Robert,
Robert Feustel wrote:
All right,
This pretty much works. Only deserialization doesn't work quite
allright, but I have found the problem and multiple solutions to that.
So, here's what I've done:
class ProperSerializableConverter extends SerializableConverter {
Hi Robert,
Robert Feustel wrote:
Hello there,
I'm trying to serialize a complex object that I wrote
a custom serializer (write/readObject() method) for. Now, when I try
running this through xstream it appears that this custom serializer is
completely ignored... It's a hierarchical dataset
Hi,
X wrote:
I'm getting this exception:
[exec]Causedby:com.thoughtworks.xstream.converters.ConversionException:Cannotdeserialize
[objectwithnewreadObject()/writeObject()methods
[[exec]Debugginginformation
this?
On Thursday, March 6, 2014 8:39 AM, X
xh...@yahoo.com wrote: Thank you sooo much
for your help!
On Thursday, March 6, 2014 4:04 AM, Jörg Schaible
joerg.schai...@swisspost.com wrote: Hi,
X wrote:
I'm getting this exception:
[exec
mrs.nospam wrote:
unsubscribe
Your own task
http://xircles.codehaus.org
-
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Hi Paul,
Paul B. Anderson wrote:
I managed to create three almost identical converters for the three
ArrayListString elements of my Java structure and I can both read and
write XML in the desired format.
I was unable to see how to get the CollectionConverter or
NamedCollectionConverter to
Hi Dmtry,
depst...@alliedtesting.com wrote:
?!? What is XStream 1.4.6.1? We release 1.4.6 and 1.4.7, but nothing
inbetween.
Yeah, sorry, that was an OSGi bundle version. The XStream version is
1.4.6.
Is there something wrong with the OSGi info in 1.4.6?
I don't know. Has XStream
Hi Paul,
Paul B. Anderson wrote:
I'm trying to handle an ArrayListString to achieve XML like the
following:
entries
entryAlpha/entry
entryBravo/entry
entryCharlie/entry
/entries
The examples Ive seen let me name the outer entries element or
eliminate the
Hi Dmitry,
depst...@alliedtesting.com wrote:
[snip]
?!? What is XStream 1.4.6.1? We release 1.4.6 and 1.4.7, but nothing
inbetween.
Yeah, sorry, that was an OSGi bundle version. The XStream version is
1.4.6.
Is there something wrong with the OSGi info in 1.4.6?
Cheers,
Jörg
Hi,
Jörg Schaible wrote:
Hi Алексеев,
Алексеев Сергей wrote:
Hello team. I got some question/problem with XStream.
I have a class with custom realization of methods equals/hashCode.
Such
objects contains in HashSet collection. Default XStream behavior: create
object
Hi Nicolas,
Nicolas HERNANDEZ wrote:
Dear all,
I would like to preserve the spaces after deserialization.
I read that the substitution of newlines, tabs characters with spaces
is part of the XML specification [1].
I would prefer not to use xml entities as it is suggested.
I also read
Hi Nicolas,
Nicolas HERNANDEZ wrote:
Hi Jörg,
The spaces are preserved when I serialize using toXML method. When I check
with an editor I see the original indentation.
But when I use the following method xstream.fromXML(myXMLString) to
deserialize,
all the newlines and tabs characters
Hi Michael,
Michael Minella wrote:
I'm running into an issue performing a round trip serializing then
deserializing an object that contains an empty array of Properties. I've
created a small test case below that illustrates the issue. It seems to
work fine when going to XML (using the
Hi Pawel,
Kowalski, Pawel wrote:
Hi,
I have plenty of data (joda DateTime objects) serialized with default
(ReflectionConverter) now I'd like to simplify serialization and created
my own Converter for these objects. The issue is I'd like to have
possibility to support both versions at
Hi Jason,
Jason Novotny wrote:
Hi,
I'm having an extreely strange problem where I run a unit test on my Mac
that works fine but the identical code on a linux server produces an
xstream related error:
testInrixAuthentication(.service.inrix.InrixServiceTest): Could not
read [class
Hi Márk,
Márk Pásztor wrote:
Hello everybody,
I use xstream for a year. It's work very well.
But now I got a problem. I would like to write an xml file from an input
xml file.
And I would like to preserve the order of input attributes to the output
file.
Now looks like this:
Hi Andrew,
Andrew Norton wrote:
Hello,
I need my XML output to look like the following even if it isn't valid.
mchoice
question
Some data
Hi Jesse,
Jesse Glick wrote:
http://stackoverflow.com/questions/20668266/xstream-null-out-fields-not-mentioned-in-xml-during-in-place-unmarshal
Is this a bug in XStream? Or something that can be done easily and I
just missed it in documentation? Or something that would take
significant
-- Forwarded Mail --
Subject: ConverterLookup
Date: 24th December 2013, 13:02:09
From: Alvaro alv...@pwntester.com
To: joerg.schai...@gmx.de
Hi Joerg,
Im trying to write to the xstream dev list but get bounced by the mailing
daemon even though Im subscribed. Maybe you can
Hi Alvaro,
there's unfortunately a bug in XStream, that requires the ConverterLookup
and ConverterRegistry to be the same instance currently. You will therefore
have to implement also ConverterRegistry and may simply ignore anything
provided with the registerConverter method.
Sorry for the
Or as alternative, set the ConverterRegistry to null. Then you can stay with
your current implementation of the ConverterLookup.
Jörg Schaible wrote:
Hi Alvaro,
there's unfortunately a bug in XStream, that requires the ConverterLookup
and ConverterRegistry to be the same instance
Hello,
XStream 1.4.6 has been released. The new version is a maintenance release and
should be therefore a drop-in replacement. It solves a runtime problem with
Java 8, has improved a lot in GAE (thanks to Zebulah for testing) and with an
active SecurityManager.
Check it out yourself:
Hi Stephan,
Stephan Arlt wrote:
Hi,
I got the following three Java classes:
(1) class A {}
(2) class B extends A {}
(3) class C extends A {}
Furthermore, I got the following XML content:
A type=B/A
A type=C/A
Can you provide a quick note on how to unmarshal the XML content
pleasure to use.
;-)
OK, I'll plan to do another 1.4.x release within the next two weeks that
contains these modifications.
Cheers,
Jörg
Zebulah
On Wednesday, November 27, 2013 4:38 PM, Jörg Schaible
joerg.schai...@gmx.de wrote:
Hi Zebula,
Zfadade wrote:
Thanks so much
Hi Uwe,
uwe schaefer wrote:
Hi
i'd like to add a reflected serialVersionUID field to the XML XStream
creates/reads from in order to be able to do conversion based on this.
i am puzzled of how to do that in a general manner rather than adding
converters for any known class (i do not know
Hi Dale,
Dale Ellis wrote:
I was having a look in the JConsole at the stack of the hanging thread, I
think the issue is to do with my abstractEntity class (which all the JPA
entity objects extend) overrides the hascode with this...
public int hashCode(){
if(getId() !=
Hello Dale,
sorry, I was busy yesterday.
Dale Ellis wrote:
Still can't get this working and have spent a day on it. It's definitely
to do with the way the StageDefinition/StageTransition Sets, if I blank
them the fromXml will work.
It's a general problem with TreeSet/TreeMap (sets use
Hello Dale,
which version of XStream are you using? What JDK (vendor and version)? Can
you paste the output of:
% ==
$ java -cp xstream-VERSION.jar com.thoughtworks.xstream.core.JVM
% ==
Basically I see no reason, why a field id should
Hello Dale,
Dale Ellis wrote:
Thanks for your replies guys,
Apologies, should of thought to include version information.
I'm using JDK 1.6 and xstream is version 1.4.5, pulled in via maven
dependency...
dependency
groupIdcom.thoughtworks.xstream/groupId
Hi Alexander,
Alexander Buchholtz wrote:
Hi Jörg,
Jörg Schaible joerg.schaible@... writes:
Actually I have no experience with the Hibernate stuff at all, therefore
I don't know, if it really can make a difference. However, I'd be
wondering.
Can you create a version of the classes
Hi Dirk,
Dirk Schnelle-Walka wrote:
Hey Jörg,
thanks for the quick answer. I wrote a unit test and it worked for me as
well. Now, I digged into it and found the reason for this strange
behavior. I had another class that was used prior to the array container
for primitives annotated with
Hi Alexander,
Alexander Buchholtz wrote:
Hi,
I'm facing an issue with serializing our entities to XML. We have a
generic that is used for localization of our entities.
My data model looks as follows:
@MappedSuperclass
public class LocalizationNameLocalizationNameObject extends
Hi Tom,
Thomas Fuller wrote:
Hi,
I use XStream to unmarshall XML into an instance of a data model. Each
class in the data model extends from DefaultObject and the DefaultObject
has a setPropertyChangeSupport method.
I'd like to configure XStream to set an instance of
Hi Cedric,
Cedric Reichenbach wrote:
Hi Jörg,
Am 21.10.2013 15:02, schrieb Jörg Schaible:
Hi Cedric,
Cedric Reichenbach wrote:
Hi everybody,
I'm using XStream to serialize objects before sending them into a
different JVM. Until now, I the JVMs were running on the same machine
and I
Hi Remko,
Remko Tronçon wrote:
Hi Jörg,
On 11 September 2013 21:48, Jörg Schaible
joerg.schai...@gmx.de wrote:
UnmarshalingContext.getRequiredType contains normally the correct thing.
Well, it is correct, in the sense that it says it requires an
Optional.
Well, since Optional
Hi Remko,
Remko Tronçon wrote:
Hi Jörg
Look at the converter tutorial. The last example at the end will do this
also.
Oh, I must have missed that one. That seems to indeed do exactly what I
wanted.
Since I assume, that your type containing the Optional is currently
handled by one of
Hi Wolfgang,
Du könntest in der ContentPartTransferImpl eine serialisierbare
SerializerStrategy direkt in den readObject/writeObject verwenden:
% ===
protected transient inStream;
public setSerializer(SerializerStrategy serializerStrategy) {
Hi Erik,
Erik Wiklund wrote:
Hi, I'm using xstream 1.4.3 and since searching both the documentation and
bug tracker didn't yield anything useful I'll just leave this here.
I have come across a problem with the fromXML (InputStream) method, when
used in conjunction with the ZipInputStream,
Hi Daniel,
first of all, I never did something real with Hibernate, any code in XStream
is contributed.
Daniel Ferber wrote:
Hi,
The HibernateMapper.serializedClass reports the HibernateProxy's super
class as the effective class that XStream should consider during
serialization. This
Hi,
depst...@alliedtesting.com wrote:
Hello,
I have a problem with XStreamImplicit annotations in derived classes. It
seems that an @XStreamImplicit annotation in a subclass screens all
@XStreamImplicit annotations in its superclass.
Example 1:
public class SuperClass {
Hi,
Швабауэр Павел wrote:
Good day team,
I'm having strange problem with marshaling/unmarshaling objects.
My small structure:
data
aclog
indexindex/index
idid/id
datedate/date
descdesc/desc
/aclog
aclog
indexindex/index
idid/id
Hi Ivan,
Ivan Brusic wrote:
I don't want to apply a converter to the top-level class. That would
require too much work whenever a new field is added.
That's why there are reflection-based converters.
Adding a simple
annotation to a single variable is already a compromise. I am trying to
Hello Alvaro,
Alvaro wrote:
Hi,
I found that using the DynamicProxyConverter can be a security issue that
can lead to remote code execution.
Can you elaborate a bit?
I dont know if it is possible to unregister it
No.
as I can see no
unregisterConverters method in the XStream class
Hi,
dimka wrote:
Jörg Schaible joerg.schaible@... writes:
actually it has been requested before:
http://jira.codehaus.org/browse/XSTR-274
I'd happily include support for IKVM, but somebody has to do the work,
patches welcome. Personally I have no .NET environment to develop nor any
Hi,
which version of XStream you are using?
Regards,
Jörg
Faisal Anwer wrote:
Vandermi Silva vandermisilva@... writes:
Hello, I am using XStream to store data in an XML file and when
I check the code with the Java Pathfinder I get the
following errorjava.lang.NullPointerException
Hi Tamas,
Farago, Tamas wrote:
Hi,
I am evaluating using XStream for our project and have run into the
issue of adding text-content to XM using latest version of XStream,
1.4.4. It doesn't matter if I use the built-in XPP or the StaxDriver,
they both have the same result.
I have the
Hi Tamas,
Farago, Tamas wrote:
Hi,
I am evaluating using XStream for our project and have run into the
issue of adding text-content to XM using latest version of XStream,
1.4.4. It doesn't matter if I use the built-in XPP or the StaxDriver,
they both have the same result.
I have the
Hi Benoit,
Benoit Idieder wrote:
Hi,
I am using xstream to serialize KeyStroke objects among other things,
which give that kind of xml file :
javax.swing.KeyStroke
keyChar#x;/keyChar
keyCode116/keyCode
modifiers0/modifiers
onKeyReleasefalse/onKeyRelease
Hi,
Xybrek wrote:
Hello,
Anyone knows of a library or extension to XStream that allows
(de)serialization of BSON documents?
This is the only implementation I can find so far:
http://www.axonframework.org/apidocs/2.0/org/axonframework/serializer/bson/DBObjectXStreamSerializer.html
Hi,
I see, I just wonder how the Axon Framework was able to achieve this.
This is one of the unit test code I found for the
DBObjectXStreamSerializer:
@Test
public void testSerializeAndDeserializeDomainEvent() {
SerializedObjectbyte[] serializedEvent =
Hi Age,
Forage wrote:
Hi,
I'm writing a custom converter to change the default JSON output of maps
from:
[[first, value1], [second, value2]]
To:
{first : value1, second : value2}
Writing the keys is no problem (startNode), but its string values
(setValue) never get enclosed by
Hi Stuart,
Stuart Rossiter wrote:
On 16 April 2013 10:56, Jörg Schaible
joerg.schai...@scalaris.com wrote:
Hi Stuart,
Stuart Rossiter wrote:
On 8 April 2013 22:13, Jörg Schaible
joerg.schai...@gmx.de wrote:
Stuart Rossiter wrote:
On 6 April 2013 21:21, Jörg Schaible
Hi,
Age Bosma wrote:
Hi,
I'm trying to convert an EnumMap object property to an implicit list,
but I can't seem to figure out how to skip the parent node in the
marshal method of the custom converter.
Example:
public class PIzza {
@XStreamConverter(ContentConverter.class)
Hi,
Xybek wrote:
On 04/03/2013 04:28 PM, Jörg Schaible wrote:
Hi,
Xybrek wrote:
Hello,
I'm getting this error when trying to deserialize:
Cannot construct MyClass as it does not have a no-args constructor.
Looking at the docs, it means that Xtream is not running in enhanced
mode
Hi,
Xybek wrote:
[snip]
Hi Jorg,
Yes, I did process JSON string but this is for the Gson library I use. I
was just asking why Google Gson library can serialize and deserialize
object instances in the same JVM and JUnit test where XStream fails to
do so, throwing exception that the class
Hi André,
André Fróes wrote:
wouldn't xpp3 be an implementation for it?
2013/3/22 André Fróes arfmor...@gmail.com
I have to add an implementation jar for xmlPullParser?
Your list contains neither Xpp3 nor kXML2 and Glassfish is no environment
that does provide another one
Hi Kay,
Kay Masslow wrote:
Hi all,
The FAQ recommends implement a custom mapper to ignore unknown fields
automatically (see acceptance test
customMapperTest.testCanBeUsedToOmitUnexpectedElements()). However
using this code seems to cause trouble with handling of collections.
You get
Hi,
hessampour wrote:
Hi everyone.
I wan't xstream to filter some of class attributes when marshalling
objects (creating xml from objects). e.g. something like omitField in
unmarshalling.
can you give an example?
- Jörg
Hi Ihar,
Ihar Tsimoshka wrote:
Hi, Jörg
I will try your suggest and will inform you about results. Maybe I'm
wrong, but Android returns fields in alphabetical order of field types. If
you have time can you please check it?
As said, I have no experience with Android myself. I never found
Hi,
Mohammad Meah wrote:
I have opened an issue on jira
http://jira.codehaus.org/browse/XSTR-728
Let me know, if you need me to do anything. Thanks
I've published a snapshot at:
https://nexus.codehaus.org/content/groups/public/com/thoughtworks/xstream/xstream/1.4.5-
SNAPSHOT/
However,
Hi Ihar,
Ihar Tsimoshka wrote:
Hi, Jörg.
Due http://xstream.codehaus.org/manual-tweaking-output.html correct
fields order is 'the sequence they are defined' - without any restrictions
in different runtime environments. Since it doesn't happen in Android,
Xstream does not support Android.
Hi Dave,
DJDaveMark wrote:
Hi Sherban,
Sorry I read your email too quickly. It seems that Android doesn't ship
with the javax.xml.stream package:
http://developer.android.com/reference/javax/xml/xpath/package-
summary.html
Here's something I found with help to include missing javax
Hi Amanda,
Amanda Varella wrote:
Hi,
as I´m having some trouble in testing the ReflectionConverter, I wil ask
your help with this basic issue!
I have a class:
public class Person {
String name;
String age;
public Person() {
}
}
And the following XML
Hi Amanda,
Amanda Varella wrote:
Thank you Joerg. But I think I didnt explain very well. Actually, the
field address is a xpto field. I know only some parts of the XML. So, If
I dont know What field can come, I can't ommit it. I'm making a processor
based in 10 xmls and making sure that all
Hi Rad,
EXT-Widmer, Rad M wrote:
Hello List:
I'm in the process of migrating a project from java 6 to java 7. The
project had been using XStream 1.3. We had to update that to XStream 1.4.4
because of java 7. Most things now work. However, we have some old xml
files written by an unknown
Hi Keith,
Wire, Keith C wrote:
Hi Jorg,
Sorry about the XStream typo, my email likes to autocorrect.
I ran the test using each of the StaxDriver Impls you suggested and here
are the results:
StaxDriver = Fail
BEAStaxDriver = Success
WstxDriver = Fail
SjsxpDriver = Success
To add
Hi Amanda,
Amanda Varella wrote:
Thank you Jörg,
*
*
I think the ReflectionConverter won´t work because I don´t have knowledge
of all attributes I would like to ignore.
I think this could be a quite common need: to ignore unknown attributes.
Do you know if there is a converter that
Hi Keith,
Wire, Keith C wrote:
Hi All,
I'm using the StaxDriver to gain support of namespaces in Xstream.
Do you have an idea, which StaX implementation is selected? The StaXDriver
itself will only use the default implementation of your environment and that
might change with the Java
Hi,
Lynton wrote:
The xml conversion of the character A with acute accent = Á is not
working, its generating �? instead, and the object conversion from xml
is generating � instead.
Our unit tests ensure that this works. You will have to provide more
information.
- Jörg
1 - 100 of 161 matches
Mail list logo