From: Joshua B. <jrb...@lb...> - 2007-07-27 00:40:54
|
On Jul 24, 2007, at 2:45 PM, Kenji Noguchi wrote: > Hi > > I would like to use SOAP decimal value as Python decimal.Decimal > value. > > My question is > > 1) What is the SOAP decimal standard? Is it same with Python Decimal? > As for Python2.3 , Decimal complies IEEE standard 854-1987 The soap decimal standard is the XML Schema Decimal standard plus a few attributes like "id" and "href". > > 2) Is current ZSI implementation ZSI.TC.Decimal a temporary solution? > It seems ZSI treats SOAP decimal, float and double as Python float. There is specific range checking for these XSD types, probably other checks too. > > 3) If SOAP decimal and Python decimal is different, I guess I need to > implement / override existing Decimal class. Would anyone show me > how? If it's incorrect, I'm not convinced it is, it should be fixed. Can you provide a the reason(s) you think it is flawed? -josh > > Thanks! > Kenji Noguchi > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Pywebsvcs-talk mailing list > Pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk > Also archived at http://groups.google.com/group/pywebsvcs |