[jdom-interest] Attribute.getDoubleValue and infinity

Jason Hunter jhunter at xquery.com
Wed Jun 7 13:01:58 PDT 2006


Would make sense.  Anyone have a problem with it?

-jh-

Marco Nijdam wrote:
> Dear JDOM developers,
> 
> First of all thanks for developing JDom.
> 
> Looking in the mailing lists and such I couldn't find any mention of the
> following minor problem:
> 
> The Attribute.getDoubleValue will not handle XML schema compliant values
> for positive and negative infinity (INF and -INF).
> The implementation directly used Double.valueOf, which uses the Java
> representation, being Infinity resp -Infinity.
> 
> The method does not document being XML schema compliant, but since it
> is a commonly used XML document definition language you might want to
> support it.
> 
> Kind regards,
> --
> -- Marco Nijdam,         marco at west.nl
> -- West Consulting B.V., Delftechpark 5, 2628 XJ  Delft, The Netherlands
> -- Tel: +3115 219 1600,  Fax: +3115 214 7889
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com
> 


More information about the jdom-interest mailing list