List Info

Thread: xs:double XmlDouble and Infinity




xs:double XmlDouble and Infinity
country flaguser name
United States
2007-10-23 14:50:01

Hello,

 

In my schema an element, say A, is of type xs:double. Using Xmlbeans (Implementation-Version: 2.2.0-r413705), the setA method expects a double value.

 

When I try to insert a value obj.setA(Double.POSITIVE_INFINITY) and then try to store the document, the element A now contains Infinity and not INF.

 

Am I using things correctly?

 

Mohana

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )