final String qName,
Attributes list)
throws SAXException {
try {
StaticTag tag = new StaticTag( namespaceURI, localName, qName );
StaticTagScript script = new StaticTagScript(
new TagFactory() {
public Tag createTag(String name, Attributes attributes) {
return new StaticTag( namespaceURI, localName, qName );
}
}
);
configureTagScript(script);
// now iterate through through the expressions
int size = list.getLength();
for (int i = 0; i < size; i++) {
String attributeValue = list.getValue(i);
Expression expression = CompositeExpression.parse(
attributeValue, getExpressionFactory()
);
String attrQName = list.getQName(i);
script.addAttribute(attrQName, expression);
}
return script;
}
catch (Exception e) {
log.warn(