Berin Loritsch wrote:

The virtual path is not as easy to produce. I mean how do you propose
it to be done? If something is /root/component/item/element are we
always referring to the root or the component as the base of the tree.
Remember the tree can be split for this very purpose.


I'm not thinking about the path relative to the root of the tree - only the virtual path commencing from the last locatable concrete element. This narrows the scope of the problem significantly and allows a utility class to present error information in a meaninful way. For example, if a actual element "conf" exists at 10:10 - and apply conf.getChild( "credentials" ).getChild( "password" ).getValue(), then we get a configuration exception showing the concrete node location and a virtual attribute path ./credentials/password/

Steve.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]

Sent via James running under Merlin as an NT service.
http://avalon.apache.org/sandbox/merlin




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



Reply via email to