Interesting issue, I don't have 1.0.4 locally, but maybe you can try something for me. Can you validate your data and see if there are any errors? Thanks, -jacobd
On Thu, May 15, 2008 at 3:30 PM, Inman, Peter <[EMAIL PROTECTED]> wrote: > I have a problem and I'm not sure what's going wrong. I'm using versin 1.0.4 > as I have to fit this into a WebLogic 8.1 app server, version 2.* isn't an > option (as far as I know as there are conflicts with jar's) > > > > Anyway, I have a schema which has been defined using xsd:dateTime formats. > XMLB has converted these and provided set methods as it should, for example > setETA(Calendar cal) > > > > The problem I have is that the setETA() method takes in a calendar, and when > this is converted to XML, it includes the time-zone information and I > actually need a specific format for the date in the created XML. > > > > I then looked at the xsetETA() method, which takes in an XmlDateTime, and > this looks like it will do the job, but when I call it, the value doesn't > get set when I print out the xml. The XmlDateTime is correctly initialised. > > > > Has anyone any ideas? > > > > I could change the generated source code, and make the setETA method > actually take in a string – that's what I want in the XML anyway, but I'd > rather not do this if I can avoid it. > > > > I'd be grateful for any assistance. > > > > Pete -- I'm competing in a Half-Ironman distance triathlon to raise money for the fight against cancer! Please help support my efforts by going to: http://www.active.com/donate/tntwaak/jacobd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]