Our product currently uses saxonB-188.8.131.52j, xmlbeans 2.3.0, and jdk1.6.0_20.
I would like to measure performance gains, if any, that our product would achieve by upgrading to
a more recent version of saxon-B, or saxon-EE.
I tried saxonB-184.108.40.206j with xmlbeans 2.4.0 and got a runtime error:"DOM Level 3 not implemented".
On 18/05/2011 16:00, Sandra Thomas wrote:
> saxonB-220.127.116.11j with xmlbeans 2.4.0 and got a runtime error:"DOM Level
> 3 not implemented"
Try calling setDOMLevel(2) on the Saxon Configuration object. If you set
this switch, the Saxon DOM wrapper code will avoid calling DOM level 3
interfaces (using slower techniques instead). I don't guarantee it will
work, because we don't have any tests against DOM level 2
implementations, since the mainstream DOM implementations all now
support Level 3.
If you want to improve performance, you shouldn't be using Saxon with
DOM input - even with level 3 support, it's very slow (by a factor of 4
to 10) compared with Saxon's native tree. For many applications it's
better to copy the DOM into a Saxon tree before processing.
Get latest updates about Open Source Projects, Conferences and News.