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