<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->


<Messages Namespace="Microsoft.Tools.WindowsInstallerXml.Extensions" Resources="Data.Messages" xmlns="http://schemas.microsoft.com/genmsgs/2004/07/messages">
  <Class Name="LuxErrors" ContainerName="LuxErrorEventArgs" BaseContainerName="WixErrorEventArgs">
    <Message Id="IllegalAttributeWhenNested" Number="6901">
      <Instance>
        The {0}/@{1} attribute cannot be specified when the {0} element is nested underneath another {0} element.
        <Parameter Type="System.String" Name="elementName" />
        <Parameter Type="System.String" Name="attributeName" />
      </Instance>
    </Message>
    <Message Id="IllegalAttributeWhenNotNested" Number="6902">
      <Instance>
        The {0}/@{1} attribute can be specified only when the {0} element is nested underneath another {0} element.
        <Parameter Type="System.String" Name="elementName" />
        <Parameter Type="System.String" Name="attributeName" />
      </Instance>
    </Message>
    <Message Id="ElementTooDeep" Number="6903">
      <Instance>
        The {0} element can be nested under a {1} element only one level deep.
        <Parameter Type="System.String" Name="elementName" />
        <Parameter Type="System.String" Name="parentElementName" />
      </Instance>
    </Message>
    <Message Id="MissingRequiredParentAttribute" Number="6904">
      <Instance>
        When a {0} element is nested underneath another {0} element, the {1} attribute must be specified on the parent element.
        <Parameter Type="System.String" Name="elementName" />
        <Parameter Type="System.String" Name="attributeName" />
      </Instance>
      <Instance>
        When a {0} element is nested underneath another {0} element, either the {1} attribute or the {2} attribute must be specified on the parent element.
        <Parameter Type="System.String" Name="elementName" />
        <Parameter Type="System.String" Name="attributeName" />
        <Parameter Type="System.String" Name="otherAttributeName" />
      </Instance>
    </Message>
  </Class>
</Messages>
