Attributes attributes) throws SAXException {
String name = attributes.getValue("name");
String pools = attributes.getValue("pooled");
JNDISource src;
if (pools != null && pools.equals("true"))
src = new JNDIPooledSource(name);
else
src = new JNDISource(name);
add(src.getName(), src);
// append all defined validators
src.addMappers(getMappers());