private void CheckArrayItem(Element node)
 {
     if (_currentModule.TargetFormat != DOM.Antlr.Module.TargetFormats.Xml)
     {
         return;
     }
     if (string.IsNullOrEmpty(node.Name) && !node.IsValueNode)
     {
         _context.AddError(CompilerErrorFactory.CantDefineArrayItemInXmlDocument(node, _currentModule.FileName));
     }
 }