implements <a href="https://www.w3.org/TR/shacl/#MaxLengthConstraintComponent"><code>sh:maxLength</code></a> 
					using a JavaScript-based <a>validator</a> to validate that the string representation of each <a>value node</a>
					has at most a given number of characters.
					Note that this is only an example implementation and should not be considered normative.
				</p>
				<pre class="example-js">
function hasMaxLength($value, $maxLength) {
	if($value.isLiteral()) {
		return $value.lex.length &lt;= $max