//Second, assume the attribute contains a list of xs:QName.
if(attrValue == null || emptyString.equals(attrValue))
{
setValid(false);
getErrorReporter().reportError(
new ErrorLocatorImpl(), //TODO line&col nos.
"WSDL509",
new Object[] {attrValue},
ErrorReporter.SEVERITY_ERROR);
return null;
}
List qnStrings = StringUtils.parseNMTokens(attrValue);
Iterator i = qnStrings.iterator();
String qnString;
QName qname;
List qnames = new Vector();
while(i.hasNext())
{
qnString = (String)i.next();
try
{
qname = ownerEl.getQName(qnString);
}
catch (WSDLException e)
{
setValid(false);
getErrorReporter().reportError(
new ErrorLocatorImpl(), //TODO line&col nos.
"WSDL510",
new Object[] {qnString, attrValue},
ErrorReporter.SEVERITY_ERROR,
e);
continue;