On Tue, 2008-09-23 at 11:53 +0200, Thorsten Scherler wrote: > I wonder - reading your other answers - whether AXIOMXPath is only > working with OM's that a builder has generated (parsing a file) and > not > like I do an OMElement that I created from the factory (without > parsing > a file), hence builder = null.
I did a small test where I created a file and used it instead the former approach to create the OMElement via the factory and this revealed that above suspicion is right. The objects are identically besides the builder which seems to make all the difference. If you create a model directly from a factory and not a builder AXIOMXPath will not return you any node. Is this a bug? salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions
