I have:
int number = 0x00000024;
And it have no problems, but now im get it from with de format:
<MAN>
<NAME hexa="0x00000001"/>
</MAN>
And I try to parse hexa with:
Integer.parseInt(parser.getAttributeValue(0), 16)
But it says:
Unable to parse '0x00000001' as integer
Anyone knows whats happening?