Beispiel #1
0
 public void validate(Declaration decl) throws XPathException {
   if (schemaType != null) {
     if (schemaType.isNamespaceSensitive()) {
       compileError(
           "Validation at attribute level must not specify a "
               + "namespace-sensitive type (xs:QName or xs:NOTATION)",
           "XTTE1545");
     }
   }
   attributeName = typeCheck("name", attributeName);
   namespace = typeCheck("namespace", namespace);
   select = typeCheck("select", select);
   separator = typeCheck("separator", separator);
   super.validate(decl);
 }