[xsd-users] Differencies between xsd and xsde

Klaim - Joël Lamotte mjklaim at gmail.com
Mon Jun 13 05:23:35 EDT 2011


Hi,

I've been using xsd for some time but I've just discovered xsde.

There is no comparison page but from what I understand from reading the docs
so far:

 1. it targets embedded softwares
 2. you have more control on what C++ features/costs exactly will be used in
the generated cost
 3. it have no dependencies (not even xerces, can even work without using
STL)

Can you confirm 3. ?
If it's correct, it might be more interesting for me than using xsd.

Are there other differences?
Maybe in the kind of interfaces generated?
xsd generate STL-like code, I find it useful. If using RTTI and STL makes me
keep this kind of interface, I'll be happy with it.

Last question : I don't find a way to specify something else than auto_ptr
as smart-pointer type for root objects.
Is there a way? I'd like to use std::unique_ptr (I'm using recent compilers)
or std::shared_ptr.
Or maybe a raw pointer in case I want all objects to be maintained by a
"manager" class (or a factory classe or something that hold them all).
If it's not possible at the moment, it might be worth considering (and it's
a bit off-topic to the initial question...but oh well)

I'm sorry I cannot test it yet to answer my own questions, I can't check at
my dayjob.
I prefer to ask before investigating more and not loose too much time at
home.

Joël Lamotte


More information about the xsd-users mailing list