On 18/05/2011 16:00, Sandra Thomas wrote:
> saxonB-184.108.40.206j 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.