+ "' contains one or more illegal characters ('//', '*', '|' or '.')." );
}
StringTokenizer pathTokenizer = new StringTokenizer( topicPath.getLocalPart( ),
"/" );
TopicSiblingSet topicSiblingSet = topicNs;
boolean resolvedPath = true;
while ( pathTokenizer.hasMoreTokens( ) )
{
String name = pathTokenizer.nextToken( );
if ( !topicSiblingSet.containsTopic( name ) )
{
resolvedPath = false;
break;
}
topicSiblingSet = topicSiblingSet.getTopic( name );
}
if ( resolvedPath )
{
matchedTopics.add( topicSiblingSet );