René's URL Explorer Experiment


Title: Unspecific error when importing Format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControl · Issue #6788 · PowerShell/PowerShell · GitHub

Open Graph Title: Unspecific error when importing Format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControl · Issue #6788 · PowerShell/PowerShell

X Title: Unspecific error when importing Format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControl · Issue #6788 · PowerShell/PowerShell

Description: When I am trying to import my Format.ps1xml file, I get a very unspecific errors message. I am coming here because I couldn't figure out what is wrong about this file after reading the XML reference extensively, asking a question on Stac...

Open Graph Description: When I am trying to import my Format.ps1xml file, I get a very unspecific errors message. I am coming here because I couldn't figure out what is wrong about this file after reading the XML referenc...

X Description: When I am trying to import my Format.ps1xml file, I get a very unspecific errors message. I am coming here because I couldn't figure out what is wrong about this file after reading the XML refe...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6788

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unspecific error when importing Format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControl","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n-->\r\n\r\nWhen I am trying to import my Format.ps1xml file, I get a very unspecific errors message. I am coming here because I couldn't figure out what is wrong about this file after reading the XML reference extensively, asking a [question on StackOverflow](https://stackoverflow.com/questions/50095027/whats-wrong-about-this-format-ps1xml-file-a-node-is-missing-from-tablecontrol/50096396#50096396) and Gitter, and even digging through the PowerShell source code to find out where it is thrown.\r\n\r\nI assume this is not a bug, so it would be great if the error had a more helpful error message. An XSD schema would also help.\r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n```xml\r\n\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n\u003cConfiguration>\r\n    \u003cViewDefinitions>\r\n        \u003cView>\r\n            \u003cName>MyType\u003c/Name>\r\n            \u003cViewSelectedBy>\r\n                \u003cTypeName>MyTypeName1\u003c/TypeName>\r\n                \u003cTypeName>MyTypeName2\u003c/TypeName>\r\n            \u003c/ViewSelectedBy>\r\n            \u003cListControl>\r\n                \u003cListEntries>\r\n                     \u003cListEntry>\r\n                        \u003cEntrySelectedBy>\r\n                            \u003cTypeName>MyTypeName1\u003c/TypeName>\r\n                        \u003c/EntrySelectedBy>\r\n                        \u003cListItems>\r\n                            \u003cListItem>\r\n                                \u003cPropertyName>myProp1\u003c/PropertyName>\r\n                            \u003c/ListItem>\r\n                        \u003c/ListItems>\r\n                    \u003c/ListEntry>\r\n                    \u003cListEntry>\r\n                        \u003cEntrySelectedBy>\r\n                            \u003cTypeName>MyTypeName2\u003c/TypeName>\r\n                        \u003c/EntrySelectedBy>\r\n                        \u003cListItems>\r\n                            \u003cListItem>\r\n                                \u003cPropertyName>myProp2\u003c/PropertyName>\r\n                            \u003c/ListItem>\r\n                        \u003c/ListItems>\r\n                    \u003c/ListEntry>\r\n                \u003c/ListEntries>\r\n            \u003c/ListControl>\r\n        \u003c/View>\r\n    \u003c/ViewDefinitions>\r\n\u003c/Configuration>\r\n```\r\n```powershell\r\nUpdate-FormatData test.Format.ps1xml\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nThis should load without error, and make `MyTypeName1` and `MyTypeName2` display as a list, with `myProp1` being shown for `MyTypeName1` and `myProp2` being shown for `MyTypeName2`.\r\n\r\nActual behavior\r\n---------------\r\n\r\nThis error:\r\n\r\n```\r\nUpdate-FormatData : Errors occurred while loading the format data file:\r\ntest.Format.ps1xml, Error at XPath /Configuration/ViewDefinitions/View[1] in file test.Format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControl.\r\nAt line:1 char:1\r\n+ Update-FormatData ./PSSourcegraph.Format.ps1xml\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n+ CategoryInfo          : InvalidOperation: (:) [Update-FormatData], RuntimeException\r\n+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.UpdateFormatDataCommand\r\n```\r\n\r\nI don't see what node is missing.\r\nWeirdly, if I remove `EntrySelectedBy`, the error doesn't occur - but I need it to switch between the types, and I don't see what else I am missing from the [documentation](https://msdn.microsoft.com/en-us/library/gg580904(v=vs.85).aspx).\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\n> $PSVersionTable\r\n\r\nName                           Value\r\n----                           -----\r\nPSVersion                      6.0.1\r\nPSEdition                      Core\r\nGitCommitId                    v6.0.1\r\nOS                             Darwin 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64\r\nPlatform                       Unix\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\r\n```\r\n","author":{"url":"https://github.com/felixfbecker","@type":"Person","name":"felixfbecker"},"datePublished":"2018-05-01T18:33:32Z","url":"https://github.com/PowerShell/PowerShell/issues/6788"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ca327008-f51e-6c55-659d-b324ac918ed8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9624:115241:143BDF:1BE72F:6AFD5E0B
html-safe-noncedf1810d307558e7303835192ca75e8ade546d4c6c0633565c250d7df82c88b4b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NjI0OjExNTI0MToxNDNCREY6MUJFNzJGOjZBRkQ1RTBCIiwidmlzaXRvcl9pZCI6Ijc3OTY4MDM2Mzc3NDAzOTYwNDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac74f719050b6c3f4b51d7591244c6585315db84b222ff01e75b02814370fa5658
hovercard-subject-tagissue:319283815
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/6788/issue_layout
twitter:imagehttps://opengraph.githubassets.com/866002d76debd2ebde1efb686386f764945d98be323082f378d54e32869de01c/PowerShell/PowerShell/issues/6788
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/866002d76debd2ebde1efb686386f764945d98be323082f378d54e32869de01c/PowerShell/PowerShell/issues/6788
og:image:altWhen I am trying to import my Format.ps1xml file, I get a very unspecific errors message. I am coming here because I couldn't figure out what is wrong about this file after reading the XML referenc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefelixfbecker
hostnamegithub.com
expected-hostnamegithub.com
None66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb6f01f7cb9f35f8c09949773241a3d49dd04b340
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/6788#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F6788
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F6788
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/6788
Reloadhttps://github.com/PowerShell/PowerShell/issues/6788
Reloadhttps://github.com/PowerShell/PowerShell/issues/6788
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests365 (365)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/6788
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/6788
Unspecific error when importing Format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControlhttps://github.com/PowerShell/PowerShell/issues/6788#top
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com/felixfbecker
Felix Becker (felixfbecker)https://github.com/felixfbecker
on May 1, 2018https://github.com/PowerShell/PowerShell/issues/6788#issue-319283815
question on StackOverflowhttps://stackoverflow.com/questions/50095027/whats-wrong-about-this-format-ps1xml-file-a-node-is-missing-from-tablecontrol/50096396#50096396
documentationhttps://msdn.microsoft.com/en-us/library/gg580904(v=vs.85).aspx
https://github.com/sethvs
Sergey Vasin (sethvs)https://github.com/sethvs
on May 2, 2018https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-385899363
Ilya (iSazonov)https://github.com/iSazonov
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
on May 4, 2018https://github.com/PowerShell/PowerShell/issues/6788#event-1609441232
https://github.com/Stephanevg
Stéphane (Stephanevg)https://github.com/Stephanevg
on May 25, 2018https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-392215636
Felix Becker (@felixfbecker)https://github.com/felixfbecker
https://github.com/felixfbecker
Felix Becker (felixfbecker)https://github.com/felixfbecker
on Sep 10, 2018https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-419896533
https://user-images.githubusercontent.com/10532611/45297479-cdfa5880-b505-11e8-88d4-20cf464532f8.png
vscode-xmlhttps://github.com/redhat-developer/vscode-xml
https://github.com/felixfbecker/PowerShellXSDhttps://github.com/felixfbecker/PowerShellXSD
herehttps://github.com/PowerShell/PowerShell-Docs/blob/staging/developer/format/format-schema-xml-reference.md
#7526https://github.com/PowerShell/PowerShell/issues/7526
https://github.com/felixfbecker
Felix Becker (felixfbecker)https://github.com/felixfbecker
on Sep 10, 2018https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-419901100
#7749https://github.com/PowerShell/PowerShell/issues/7749
Ilya (iSazonov)https://github.com/iSazonov
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
on Jan 15, 2021https://github.com/PowerShell/PowerShell/issues/6788#event-4209446839
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-1813942433
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-1813942434
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-1813942435
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
on Nov 16, 2023https://github.com/PowerShell/PowerShell/issues/6788#event-10976986559
https://github.com/apps/microsoft-github-policy-service
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/6788#issuecomment-1824439211
Microsoft GitHub Policy Servicehttps://aka.ms/1es-gitops
microsoft-github-policy-servicehttps://github.com/apps/microsoft-github-policy-service
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 23, 2023https://github.com/PowerShell/PowerShell/issues/6788#event-11047739220
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/6788
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/6788
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get ahttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Question%22
Resolution-No ActivityIssue has had no activity for 6 months or morehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-No%20Activity%22
WG-Enginecore PowerShell engine, interpreter, and runtimehttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Engine%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.