Skip to content

Fix XML code blocks #9744

Closed

Description

@nxtn

Some hand-written XML code blocks contain mistakes. I tried to find them out with XmlReader.

The output is here with a few false positives.

Activity

  1. Thraka commented on Dec 26, 2018

    @Thraka
    Contributor

    Thank you for tackling this. I'm assigning this to you and I'll put it in our current project/milestone. Please let me know when you've finished (it seems like you're going to do multiple PRs?) and I'll close this.

  2. nxtn commented on Jan 8, 2019

    @nxtn
    ContributorAuthor

    You could remove the WIP label and add an up-for-grabs.

  3. added
    help wanted
    and removed on Jan 8, 2019
  4. mairaw commented on Jan 8, 2019

    @mairaw
    Contributor
  5. 9 remaining items

  6. Thraka commented on Mar 23, 2020

    @Thraka
    Contributor

    I think having no special syntax is fine. The placeholders are usually in some sort of context that is talking about that specific feature or area of XML so it's easy to understand. I would just make sure that the placeholder uses - to connect words like package-id or version-number.

  7. cloudn9 commented on Mar 23, 2020

    @cloudn9
    Contributor

    I think having no special syntax is fine. The placeholders are usually in some sort of context that is talking about that specific feature or area of XML so it's easy to understand. I would just make sure that the placeholder uses - to connect words like package-id or version-number.

    Thank you @Thraka, so if in our case we have "previous value" it becomes "previous-value" right ?
    It does not mean that the previous value should contain a - inside ?

  8. Thraka commented on Mar 23, 2020

    @Thraka
    Contributor

    Correct.

  9. added
    won't fix
    on Jan 25, 2021
  10. dotnet-bot commented on Jan 25, 2021

    @dotnet-bot
    Contributor

    This issue has been closed as part of the issue backlog grooming process outlined in #22351.

    That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why. Tag the @dotnet/docs team for visibility.

  11. Youssef1313 commented on Jan 25, 2021

    @Youssef1313
    Member

    @BillWagner I believe this issue still needs to be addressed. It was addressed partially via a series of PRs. But not completely done.
    I'd also like to note that mentioning @dotnet/docs doesn't seem to work for external contributors (it's not hyperlinked and most likely won't send an email/notification to the team)

  12. removed
    won't fix
    on Jan 25, 2021
  13. BillWagner commented on Jan 25, 2021

    @BillWagner
    Member

    @Youssef1313 I am sure there are still some concerns here.

    I'm tempted to close this because the original gist is gone, and I don't know a good way to find which XML blocks are still a concern. Do you have a tool or list that you can add as a comment to help us address it, and know when it is fixed?

  14. Youssef1313 commented on Jan 25, 2021

    @Youssef1313
    Member

    @BillWagner The original gist is https://gist.github.com/nxtn/a1445dfee1b8e51d5890c9b886a3fbf1 (just replaced "NextTurn" with "nxtn" as he changed his user name recently). Part of the gist is addressed, and part is not.

    Tagging @nxtn for how to get a clean list. But we still can use the existing gist.

  15. BillWagner commented on Jan 25, 2021

    @BillWagner
    Member

    Thanks @Youssef1313 I'll keep this open.

  16. nxtn commented on Jan 25, 2021

    @nxtn
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wanted

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions