if (locationPath.isAbsolute()) {
if ( locationPath.isAbsolute() )
private QName getName( ValueReference path ) { if ( path.getAsQName() != null ) { return path.getAsQName(); } Expr xpath = path.getAsXPath(); if ( xpath instanceof LocationPath ) { LocationPath lp = (LocationPath) xpath; if ( lp.getSteps().size() == 1 && !lp.isAbsolute() ) { Step step = (Step) lp.getSteps().get( 0 ); if ( step instanceof NameStep ) { return getQName( (NameStep) step ); } } } return null; }
if (locationPath.isAbsolute()) {
continue; if ( lp.isAbsolute() ) { LOG.warn( "Unhandled location path: '" + particleMapping.getPath() + "'. Only relative paths are handled." );