Ah, now I understand - when you said multiple tags to a single class
in the original email I interpreted that as a sequence of elements
(partially because that's what you seemed to be showing).
The problem here is that mapping is intended as a general rule for how
to handle a particular class.
I think it depends on how the complexTypes and elements inheriting from
that type are used. If the objects corresponding to the elements are in
a common class hierarchy you should be able to use an abstract mapping
for the complexType, and extend it with a mapping for each subclass.
That only
Looks like you've got a space at the end of your name=... attribute
for the ReleaseMediaAndCtrlTechText element binding (in other words,
name=ReleaseMediaAndCtrlTechText ). Currently JiBX doesn't check that
the name values you supply are actually valid XML names; this is another
thing it
Hi Dennis,
Is it in plans to add compile time check that Xml names
used in binding are valid as per XML Schema definition,
and that the resulting marshalled document will be valid ?
Or it will be supported only via automatic generation tool xsd2jibx ?
Thank you
Elena
Hi,
Is it possible in Jibx to unmarshell not the whole
document but sub-tree in some elegant way ?
Thanks a lot,
Elena
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for
Hi,
Is Jibx generated code tightly integrated with Pull Parser ?
Could the parser be easily replaced for example on Piccollo ?
thanks a lot.
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an
JiBX is designed to use a pull parser in one form or another. When StAX
(the Java standard for XML pull parsers) becomes available in a stable
and redistributable release it'll be easy to add support for that.
Piccolo is a SAX parser (non-pull) parser, so it wouldn't work for JiBX.
- Dennis
Yes, by writing your own code for handling the top-level control of the
parsing. Your code can then handle the parsing in whatever way it wants
until it comes to a portion to be unmarshalled, at which point it can
invoke the JiBX unmarshalling. The versioned marshalling/unmarshalling
example