Re: [BangPypers] Mapping python types to xml schema

2008-05-12 Thread Anand Balachandran Pillai
Hi, Is your problem in actually finding out the types or in arriving at a type mapping ? If the question is regarding mapping I think you can simply pass in datetime objects as seconds since epoch, in this case it will be mapped to a FLOAT or DOUBLE. The other option is to convert

[BangPypers] Mapping python types to xml schema

2008-05-12 Thread Heshan Suriyaarachchi
Hi, I am using a mechanism to annotate a python script, and at the deployment time I am reading the annotations and mapping the types defined in the python script to xml schema types(This is done inside java).But the problem I am facing is , since python is dynamically typed how should I map the