commons/rmf/bean/src/main/java/org/ldp4j/rdf/bean/impl/model/ModelUtils.java
static boolean isCorrectURISplit(String namespace, String localName) {
		assert namespace != null : "namespace must not be null";
		assert localName != null : "localName must not be null";

		boolean result=false;
		int nsLength = namespace.length();
		if(nsLength>0) {
			char lastNsChar=namespace.charAt(nsLength-1);
			result=
				isCorrectHashNamespaceURISplit(namespace, nsLength, lastNsChar) ||
				isCorrectSlashNamespaceURISplit(namespace, localName, lastNsChar) ||
				isCorrectColonNamespaceURISplit(namespace, localName, lastNsChar);
		}
		return result;
	}
static boolean isCorrectURISplit(String namespace, String localName) {
		assert namespace != null : "namespace must not be null";
		assert localName != null : "localName must not be null";

		boolean result=false;
		int nsLength = namespace.length();
		if(nsLength>0) {
			char lastNsChar=namespace.charAt(nsLength-1);
			result=
				isCorrectHashNamespaceURISplit(namespace, nsLength, lastNsChar) ||
				isCorrectSlashNamespaceURISplit(namespace, localName, lastNsChar) ||
				isCorrectColonNamespaceURISplit(namespace, localName, lastNsChar);
		}
		return result;
	}
Checks whether the URI consisting of the specified namespace and local
name has been split correctly according to the URI splitting rules
specified in {@link URI}.

@param namespace
The URI's namespace, must not be <tt>null</tt>.
@param localName
The URI's local name, must not be <tt>null</tt>.
@return <tt>true</tt> if the specified URI has been correctly split into a
namespace and local name, <tt>false</tt> otherwise.
@see URI
@see #getLocalNameIndex(String)