docs: @Override
  	public void endDocument() throws SAXException
  	{
  		for (int i = 0; i < commands.size(); ++i)
  		{
  			Command cmd = commands.elementAt(i);
  			try
  			{
  				cmd.backtrack(references);
  			}
  			catch (Exception e)
  			{
  				throw new SAXException(Messages.getString("beans.0B")); //$NON-NLS-1$
  			}
  			// if(!backtracked)
  			// throw new SAXException("Command " + cmd.getTagName() +
  			// " is unresolved on second run() call.");
  		}
  
  		for (int i = 0; i < commands.size(); ++i)
  		{
  			Command cmd = commands.elementAt(i);
  			result.add(cmd.getResultValue());
  		}
  	}