On Tue, 6 Nov 2001, Mark A. Belonga wrote: > Sounds reasonable to me -- return an Object which would be a List in the > event of a location-path expression. > > What if only one value is returned from the location-path expression? Is > that "unwrapped" or left as a List with one element?
I think we'd leave it as the List. The return-type would be directly based on the return-type for that type of expression. No manipulation based upon the actual returned results. Location-paths return node-sets, which can certainly contain 1 (or even 0) nodes. -bob _______________________________________________ Jaxen-interest mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jaxen-interest