// (1) names that are used as ID/IDREF
// (2) names that are used as other datatypes.
itr= module.tags.iterator();
while( itr.hasNext() )
{
final TagClause tag = (TagClause)itr.next();
if( tag.nameClass instanceof SimpleNameClass )
{
SimpleNameClass snc = (SimpleNameClass)tag.nameClass;
if( tagNames.contains(snc.localName) )
overloadedNames.add(snc.localName);
else
tagNames.add(snc.localName);
}
}
// 1st filter: collect those AttributeExps which have overloaded tag names.
itr= module.tags.iterator();
while( itr.hasNext() ) {
final TagClause tag = (TagClause)itr.next();
if( tag.nameClass instanceof SimpleNameClass )
currentTagName = ((SimpleNameClass)tag.nameClass).localName;
else
currentTagName = null; // indicates wild card