I don�t need to, because, i don�t use dom neither jdom, i developed my own small JAXB, so I read the XML into my generated Java structure, when I need to sign some area y use, a method of the structure that prints the canonized XML.
It doesn't matter you use for representing the XML. You still need to c14n it. One bit of difference in the input and you will break your signature.
Without c14n it would be hard enough to be compatible with your own implementation.
That's not to say that it's not worthwhile to do your own, but it's usually not worth the trouble because of the effort involved, and it's usually impossible to change anything without breaking it. As soon as you have to add something you usually have to start from close to the beginnen :)
Anyway I didn�t finished it yet, I am still testing the small parts, so I don�t know for sure yet. In a couple of days I will tell you for certain if it works well and if it�s really compatible.
I'd be (pleasantly) surprised ;-)
Erwin
