diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-03-16 14:39:02 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-03-16 14:40:45 -0700 |
| commit | 2d064ab1c2c33685d0ea9ef6e702ff8100f4dade (patch) | |
| tree | 74579cecf7ce610fa0d5d7d8dbaab69a9b4cec58 /src | |
| parent | 9aae370eee18b4c87300f333fa52f3cd0d7f34d1 (diff) | |
| download | wix-2d064ab1c2c33685d0ea9ef6e702ff8100f4dade.tar.gz wix-2d064ab1c2c33685d0ea9ef6e702ff8100f4dade.tar.bz2 wix-2d064ab1c2c33685d0ea9ef6e702ff8100f4dade.zip | |
Add method to disallow inner text
Part of wixtoolset/issues#6237
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Extensibility/Services/IParseHelper.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/WixToolset.Extensibility/Services/IParseHelper.cs b/src/WixToolset.Extensibility/Services/IParseHelper.cs index 83c66540..fbe5aae4 100644 --- a/src/WixToolset.Extensibility/Services/IParseHelper.cs +++ b/src/WixToolset.Extensibility/Services/IParseHelper.cs | |||
| @@ -357,6 +357,12 @@ namespace WixToolset.Extensibility.Services | |||
| 357 | string GetTrimmedInnerText(XElement element); | 357 | string GetTrimmedInnerText(XElement element); |
| 358 | 358 | ||
| 359 | /// <summary> | 359 | /// <summary> |
| 360 | /// Validates that the element does not contain inner text. | ||
| 361 | /// </summary> | ||
| 362 | /// <param name="element">Element to check for inner text.</param> | ||
| 363 | void InnerTextDisallowed(XElement element); | ||
| 364 | |||
| 365 | /// <summary> | ||
| 360 | /// Verifies that a value is a legal identifier. | 366 | /// Verifies that a value is a legal identifier. |
| 361 | /// </summary> | 367 | /// </summary> |
| 362 | /// <param name="value">The value to verify.</param> | 368 | /// <param name="value">The value to verify.</param> |
