Hi,
This is slightly off topic, but I'm sure that this is the right bunch of
people to ask...
What open source tool would easily grab data, not in tagged or XML
format, from a text file and generate classes that would spit out XML.
I.e. you don't have a schema, but can break up the text string by
setting the offsets and want to end up with Java classes.
For example,
1234PeteDavids12081990jobless
Should translate into a class like below
Member (
* ID = 1234
* Name = Peter
* Surname = Davids
* Date of Birth = 12081990
* Job Status = jobless
alwyn
________________________________
From: Martin Bosticky [mailto:martin.bosticky_at_oxford-biosignals.com]
Sent: Tuesday 16 August 2005 14:54
To: users_at_jaxb.dev.java.net
Subject: RE: Who uses jaxb?
Good point. By the way, does anyone know if JAXB is faster or slower
than the two most common DOM implementations (MSDOM and apache xerces)?
Obviously it depends on the test. Mostly I mean in loading XML and
traversing the data.
Martin.
________________________________
From: ray_lukas_at_comcast.net [mailto:ray_lukas_at_comcast.net]
Sent: 16 August 2005 13:40
To: users_at_jaxb.dev.java.net
Subject: RE: Who uses jaxb?
yeah.. I guess. But you know it all depends on what you are doing,
right. DOM is good for some things and SAX is good for others. I don't
favor one or the other. It all depends. I probably should have listed
the different tools that I used and not the actual base technology (SAX
and DOM).. it was a quick email. you know.
My main point was, and is, that JAXB is a good idea, is a good product
and has really saved us a lot of heart ache and that is it well
supported thanks to its users and of course our friend Kohsuke. That I
have no reservation in recommending this technology, because I don't.
-------------- Original message --------------
JaxB is a heck a nice product and I have used a lot of them,
most of the major DOM and SAX products and the Digester. JAXB rocks.. It
is a heck of a good tool.. Point it at a schema and with few lines your
Java object model is built and really to go. Read and write you model to
and from any stream, done, no problem, piece of cake..
I agree. I used to use a DOM a lot but would not do so again
unless I had to.
This message has been scanned for viruses by MailController
<
http://www.mailcontroller.altohiway.com/> .