@Override
protected void setProperty(EObject eObject, String property, Object value, boolean lax) {
super.setProperty(eObject, property, value, lax);
if (!lax) {
if ("typeNames".equalsIgnoreCase(property)) {
QueryType q = (QueryType)eObject;
//turn into list of qname
List qNames = new ArrayList();
for (Object s : q.getTypeNames()) {
try {
qNames.add(new XSQNameBinding(namespaceContext).parse(null, s));
}
catch (Exception e) {
throw new RuntimeException(e);
}
}
q.getTypeNames().clear();
q.getTypeNames().addAll(qNames);
}
}
}