private DatatypeStreamingValidator streamingValidatorFor(String uri,
            String localName, Attributes atts) {
        if (XHTML_URL.equals(uri)) {
            if ("time".equals(localName) && (atts.getIndex("", "datetime") < 0)) {
                return TimeDatetime.THE_INSTANCE.createStreamingValidator(null);
            }
            if ("script".equals(localName) && atts.getIndex("", "src") >= 0) {
                return ScriptDocumentation //
                        .THE_INSTANCE.createStreamingValidator(null);
            }
        }
        return null;
    }
Returns a <code>DatatypeStreamingValidator</code> for the element if it
needs <code>textContent</code> checking or <code>null</code> if it does
not.

@param uri
           the namespace URI of the element
@param localName
           the local name of the element
@param atts
           the attributes
@return a <code>DatatypeStreamingValidator</code> or <code>null</code> if
        checks not necessary
src/nu/validator/checker/TextContentChecker.java