-
Notifications
You must be signed in to change notification settings - Fork 1.7k
syntax in example 9 is incorrect #8394
Copy link
Copy link
Closed
Labels
area-sdk-docsArea - SDK docsArea - SDK docsissue-doc-bugIssue - error in documentationIssue - error in documentation
Description
Prerequisites
- Write a descriptive title.
- Search the existing issues.
- I am reporting the documentation problem for version of PowerShell I am using.
Version
5.1
Link to affected document
Description of the documentation error
Example 9 has invalid xml syntax.
Opening and closing tags have mismatched case on "v/V" as below. If copied, this results in invalid maml syntax.
<dev:possiblevalues>
<dev:possiblevalue>
<dev:value>Unknown</dev:value>
<maml:description>
<maml:para></maml:para>
</maml:description>
</dev:possiblevalue>
<dev:possiblevalue>
<dev:value>String</dev:value>
<maml:description>
<maml:para></maml:para>
</maml:description>
</dev:possibleValue>
</dev:possiblevalues>
Suggested fix
update example to match case at open and closing tags:
I would suggest capitalizing the second word as below, to keep formatting uniform with the other node description pages. Get-Help will work either way though.
<dev:possibleValues>
<dev:possibleValue>
<dev:value>Unknown</dev:value>
<maml:description>
<maml:para></maml:para>
</maml:description>
</dev:possibleValue>
<dev:possibleValue>
<dev:value>String</dev:value>
<maml:description>
<maml:para></maml:para>
</maml:description>
</dev:possibleValue>
</dev:possibleValues>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-sdk-docsArea - SDK docsArea - SDK docsissue-doc-bugIssue - error in documentationIssue - error in documentation