Re: [jibx-users] Multiple Tags - Single Class

2004-09-24 Thread Dennis Sosnoski
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.

Re: [jibx-users] mapping a complexType and elements that inherit from it

2004-09-24 Thread Dennis Sosnoski
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

Re: [jibx-users] unmarshalling problem (newbie)

2004-09-24 Thread Dennis Sosnoski
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

[jibx-users] Binding according to Schema

2004-09-24 Thread Neroslavskaya, Elena
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

[jibx-users] Partial document Unmarshalling

2004-09-24 Thread Neroslavskaya, 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

[jibx-users] Coupled with Pull Parser

2004-09-24 Thread Neroslavskaya, Elena
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

Re: [jibx-users] Coupled with Pull Parser

2004-09-24 Thread Dennis Sosnoski
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

Re: [jibx-users] Partial document Unmarshalling

2004-09-24 Thread Dennis Sosnoski
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