You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable schema validation for CDXML in ScriptWriter.cs #3680
Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues
powershell core currently doesn't validate CDXML schema due to the missing of related APIs in .NET Core 1.1 and prior versions, and the related code are if/def'ed out.
In .NET Core 2.0, XML Schema validation APIs are brought back, so the CDXML schema validation related code in ScriptWriter.cs can be enabled now, but it will require additional work to make the schema validation work in powershell core, because
The XML Schema file cmdlets-over-objects.xsd is missing in Github
The resource string CmdletizationCoreResources.Xml_cmdletsOverObjectsXsd likely needs to be reworked to make the schema validation work.
Dongbo Wang (@daxian-dbw) From your comment, it seems that the cmdlets-over-objects.xsd file would still work for full .Net, is that correct? Due to the file not being present in the GitHub repo, I would need to conditionally exclude this code not only for coreclr but also additionaly for fullclr now as I plan to open a PR for #7408 soon
Dongbo Wang (@daxian-dbw) Is it then possible to add this missing file to the source code please or are there problems with licensing/IP?
I tried looking for the file in the source-depot branch as well and in the Windows PowerShell installation folder but could not find it...
I think there is no problem to add the file to GitHub, but Steve Lee (@SteveL-MSFT) can you please confirm. Andrew (@anmenaga) Can you please look into this when you have some time? Thanks!
Ok, thanks. It seems we have to discuss #7408 in more detail. When I did the proof of concept of compiling SMA for full .Net, I made the assumption that I should not define the CORECLR constant for this compilation configuration. Maybe this was a mistake, which would mean that this file would then not be needed.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commented on Nov 23, 2023
Issue-Enhancementthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issues
Activity
bergmeister commentedon Aug 5, 2018
Dongbo Wang (@daxian-dbw) From your comment, it seems that the
cmdlets-over-objects.xsdfile would still work for full .Net, is that correct? Due to the file not being present in the GitHub repo, I would need to conditionally exclude this code not only for coreclr but also additionaly for fullclr now as I plan to open a PR for #7408 soondaxian-dbw commentedon Aug 6, 2018
Christoph Bergmeister (@bergmeister) Yes, as far as I understand, the file
cmdlets-over-objects.xsdshould work for full .NET.bergmeister commentedon Aug 6, 2018
Dongbo Wang (@daxian-dbw) Is it then possible to add this missing file to the source code please or are there problems with licensing/IP?
I tried looking for the file in the source-depot branch as well and in the Windows PowerShell installation folder but could not find it...
daxian-dbw commentedon Aug 7, 2018
I think there is no problem to add the file to GitHub, but Steve Lee (@SteveL-MSFT) can you please confirm.
Andrew (@anmenaga) Can you please look into this when you have some time? Thanks!
bergmeister commentedon Aug 7, 2018
Ok, thanks. It seems we have to discuss #7408 in more detail. When I did the proof of concept of compiling SMA for full .Net, I made the assumption that I should not define the
CORECLRconstant for this compilation configuration. Maybe this was a mistake, which would mean that this file would then not be needed.SteveL-MSFT commentedon Aug 8, 2018
There should be no issue adding that file as long as the appropriate copyright/license header is there.
iSazonov commentedon Mar 8, 2019
Do we wait the file?
SteveL-MSFT commentedon Mar 20, 2019
Created PR for the xsd #9177
iSazonov commentedon Jul 12, 2019
It seems it would be nice to fix this before 7.0 release.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 16, 2023
This issue has not had any activity in 6 months, if this is a bug please try to reproduce on the latest version of PowerShell and reopen a new issue and reference this issue if this is still a blocker for you.
microsoft-github-policy-service commentedon Nov 23, 2023
This issue has been marked as "No Activity" as there has been no activity for 6 months. It has been closed for housekeeping purposes.