Have to say, I'm very much liking the look of combining JAX-B for object 
marshalling/unmarshalling and JXPATH for in memory object graph search.

One oddity I noticed:

I have a List containing classes of type PackagedDriverImpl, which itself 
implements an interface PackagedDriver.

This class has a getDriverDescriptor method, which returns an object of 
x.y.z.DriverDescriptor based on the the JAX-B generated schema.

My original JXPath search went along the following lines:

DriverDescriptor/Info/[EMAIL PROTECTED]'xxx.yyy']

This failed, and running it through debug I noticed that the leading capital 
letter of all my properties had been shifted to lower case. So, redoing my 
search as follows worked:

driverDescriptor/info/[EMAIL PROTECTED]'xxx.yyy']

Seemed a little odd. Anyone got any suggestions/advice on this?

TIA

-- Rob Walker


Ascert - Taking systems to the Edge
[EMAIL PROTECTED]
+44 (0)20 7488 3470
www.Ascert.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to