public static LinkedList<String> visitTermOrClassListNode(Node n,String inheritance,CompilerLogger logger)
	throws CopperException
	{
		LinkedList<String> members = new LinkedList<String>();
		for(int i = 0;i < n.getChildNodes().getLength();i++)
		{
			if(n.getChildNodes().item(i).getNodeName().equals("term"))
			{
				if(n.getChildNodes().item(i).getAttributes().getNamedItem("id") == null)
				{
					formalError(logger,n.getChildNodes().item(i),"missing","id","attribute");
					return null;
				}
				members.add(n.getChildNodes().item(i).getAttributes().getNamedItem("id").getTextContent());
			}
			else if(n.getChildNodes().item(i).getNodeName().equals("termclass"))
			{
				if(n.getChildNodes().item(i).getAttributes().getNamedItem("id") == null)
				{
					formalError(logger,n.getChildNodes().item(i),"missing","id","attribute");
					return null;
				}
				members.add(n.getChildNodes().item(i).getAttributes().getNamedItem("id").getTextContent());
			}
			else if(!n.getChildNodes().item(i).getNodeName().startsWith("#"))
			{
				formalError(logger,n,"has invalid",n.getChildNodes().item(i).getNodeName(),"child");
				return null;				
			}
		}
		return members;
	}