This was an XPath change that came about in the Jaxen code base and the
handling of numeric types.

James
----- Original Message -----
From: "Silvain Piree" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 4:00 PM
Subject: [dom4j-user] difference 1.1 and 1.2


>
> Hi,
>
> I've encountered a small difference between 1.1 and 1.2.
>
> Following example produces different results for 1.1 and 1.2:
>
>         Document document = DocumentHelper.createDocument();
>         Object result = document.selectNodes("0").get(0);
>         System.out.println("result: " + result.toString());
>
> Output for 1.1:   0
> Output for 1.2:   0.0
>
> It seems that DOM4J 1.2 always uses Float objects to represent
> numbers whereas DOM4J 1.1 used Integer object where possible.
>
> Was this an intended change?
>
> Silvain
>
>
>
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dom4j-user


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to