Fix check for inconsistencies

Now are checked are the resources by inconsistencies
not only the requested resources
Fix in local restrictions

Was fixed a error when a PAD, Corr Conf, Clo Conf or
Holo has an antenna associated and this was changed to
a new resource
Fix problems with XML format

now the XML tags are closed