----- Original Message ----- From: "Phil Wilson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 7:23 PM Subject: Re: Empty return value
> > can you post the error you get? > > Sure thing, > > Here's what I get > > startElement: dateTime.iso8601 > endElement: dateTime.iso8601 > java.lang.RuntimeException: Unparseable date: "" > at org.apache.xmlrpc.XmlRpc$Value.characterData(XmlRpc.java:597) > at org.apache.xmlrpc.XmlRpc.endElement(XmlRpc.java:388) > at uk.co.wilson.xml.MinML.parse(MinML.java) > at uk.co.wilson.xml.MinML.parse(MinML.java) > at org.apache.xmlrpc.XmlRpc.parse(XmlRpc.java:270) > at > org.apache.xmlrpc.XmlRpcClientLite$LiteWorker.execute(XmlRpcClientLite.java: > 162) > at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:149) > at xurbleTest.main(xurbleTest.java:205) > java.io.IOException: Unparseable date: "" > > > > I.E. It's well formed XML but not valid XML-RPC > > I couldn't see anything in the XML-RPC spec about blank values, but if an > XML-RPC call is just XML (as you cleared up for me recently!), it _should_ > be able to deal with it, shouldn't it? The exception does not come from the parser. It comes from XmlRPC.java. The Apache XML-RPC system requires a dateTime.iso8601 element to contain a date/time. The spec says that a dateTime.iso8601 should contain a date/time. A zero length sting is not a date/time. I'm a little puzzled as to what you are trying to achieve here. What date value do you think should be passed on to the use code? John Wilson The Wilson Partnership http://www.wilson.co.uk