if (metainf.getSchemaQNameForQName(name) != null) {
shortTypeName = metainf.getSchemaQNameForQName(name).getLocalPart();
}
if (javaClassNameForElement == null) {
throw new SchemaCompilationException("Type missing!");
}
XSLTUtils.addAttribute(model, "type", javaClassNameForElement, property);
if (typeMap.containsKey(metainf.getSchemaQNameForQName(name))) {
XSLTUtils.addAttribute(model, "ours", "yes", property); //todo introduce a better name for this
}