code: private DatatypeStreamingValidator streamingValidatorFor(String uri,
              String localName, Attributes atts) {
          if ("http://www.w3.org/1999/xhtml".equals(uri)) {
              if ("time".equals(localName)) {
                  if (atts.getIndex("", "datetime") < 0) {
                      return TimeDatetime.THE_INSTANCE.createStreamingValidator(null);
                  }
              }
              if ("script".equals(localName)) {
                  if (atts.getIndex("", "src") < 0) {
                      return Script.THE_INSTANCE.createStreamingValidator(null);
                  } else {
                      return ScriptDocumentation.THE_INSTANCE.createStreamingValidator(null);
                  }
              } else if ("style".equals(localName)
                      || "textarea".equals(localName)
                      || "title".equals(localName)) {
                  return CdoCdcPair.THE_INSTANCE.createStreamingValidator(null);
              }
          }
          return null;
      }
docs: 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