diff options
Diffstat (limited to 'src/WixToolset.Core/Compiler_2.cs')
-rw-r--r-- | src/WixToolset.Core/Compiler_2.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/WixToolset.Core/Compiler_2.cs b/src/WixToolset.Core/Compiler_2.cs index 204a3788..fbad873e 100644 --- a/src/WixToolset.Core/Compiler_2.cs +++ b/src/WixToolset.Core/Compiler_2.cs | |||
@@ -1211,6 +1211,8 @@ namespace WixToolset.Core | |||
1211 | } | 1211 | } |
1212 | } | 1212 | } |
1213 | 1213 | ||
1214 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
1215 | |||
1214 | if (null == sddl) | 1216 | if (null == sddl) |
1215 | { | 1217 | { |
1216 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Sddl")); | 1218 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Sddl")); |
@@ -1499,6 +1501,8 @@ namespace WixToolset.Core | |||
1499 | this.Core.Write(ErrorMessages.CannotAuthorSpecialProperties(sourceLineNumbers, id.Id)); | 1501 | this.Core.Write(ErrorMessages.CannotAuthorSpecialProperties(sourceLineNumbers, id.Id)); |
1500 | } | 1502 | } |
1501 | 1503 | ||
1504 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
1505 | |||
1502 | if ("ErrorDialog" == id.Id) | 1506 | if ("ErrorDialog" == id.Id) |
1503 | { | 1507 | { |
1504 | this.Core.CreateSimpleReference(sourceLineNumbers, SymbolDefinitions.Dialog, value); | 1508 | this.Core.CreateSimpleReference(sourceLineNumbers, SymbolDefinitions.Dialog, value); |
@@ -2043,6 +2047,8 @@ namespace WixToolset.Core | |||
2043 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value")); | 2047 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value")); |
2044 | } | 2048 | } |
2045 | 2049 | ||
2050 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
2051 | |||
2046 | this.Core.ParseForExtensionElements(node); | 2052 | this.Core.ParseForExtensionElements(node); |
2047 | 2053 | ||
2048 | return (null == value) ? multiStringValue : String.Concat(value, "[~]", multiStringValue); | 2054 | return (null == value) ? multiStringValue : String.Concat(value, "[~]", multiStringValue); |
@@ -2608,6 +2614,8 @@ namespace WixToolset.Core | |||
2608 | } | 2614 | } |
2609 | } | 2615 | } |
2610 | 2616 | ||
2617 | this.Core.VerifyNoInnerText(childSourceLineNumbers, node); | ||
2618 | |||
2611 | if (customAction && "Custom" == actionName) | 2619 | if (customAction && "Custom" == actionName) |
2612 | { | 2620 | { |
2613 | this.Core.Write(ErrorMessages.ExpectedAttribute(childSourceLineNumbers, child.Name.LocalName, "Action")); | 2621 | this.Core.Write(ErrorMessages.ExpectedAttribute(childSourceLineNumbers, child.Name.LocalName, "Action")); |
@@ -3071,6 +3079,8 @@ namespace WixToolset.Core | |||
3071 | } | 3079 | } |
3072 | } | 3080 | } |
3073 | 3081 | ||
3082 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
3083 | |||
3074 | if (privilege == null) | 3084 | if (privilege == null) |
3075 | { | 3085 | { |
3076 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Name")); | 3086 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Name")); |
@@ -3432,6 +3442,8 @@ namespace WixToolset.Core | |||
3432 | } | 3442 | } |
3433 | } | 3443 | } |
3434 | 3444 | ||
3445 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
3446 | |||
3435 | if (argument == null) | 3447 | if (argument == null) |
3436 | { | 3448 | { |
3437 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value")); | 3449 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value")); |
@@ -3769,6 +3781,8 @@ namespace WixToolset.Core | |||
3769 | } | 3781 | } |
3770 | } | 3782 | } |
3771 | 3783 | ||
3784 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
3785 | |||
3772 | if (null == id) | 3786 | if (null == id) |
3773 | { | 3787 | { |
3774 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Id")); | 3788 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Id")); |
@@ -3876,6 +3890,8 @@ namespace WixToolset.Core | |||
3876 | } | 3890 | } |
3877 | } | 3891 | } |
3878 | 3892 | ||
3893 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
3894 | |||
3879 | if (null == id) | 3895 | if (null == id) |
3880 | { | 3896 | { |
3881 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Id")); | 3897 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Id")); |
@@ -4353,6 +4369,8 @@ namespace WixToolset.Core | |||
4353 | } | 4369 | } |
4354 | } | 4370 | } |
4355 | 4371 | ||
4372 | this.Core.VerifyNoInnerText(sourceLineNumbers, node); | ||
4373 | |||
4356 | if (String.IsNullOrEmpty(key)) | 4374 | if (String.IsNullOrEmpty(key)) |
4357 | { | 4375 | { |
4358 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Key")); | 4376 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Key")); |