-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Enable schema validation for CDXML in ScriptWriter.cs #3680
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral cmdlet issues
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Cmdletsgeneral cmdlet issuesgeneral 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'edout.In .NET Core 2.0, XML Schema validation APIs are brought back, so the CDXML schema validation related code in
ScriptWriter.cscan be enabled now, but it will require additional work to make the schema validation work in powershell core, becausecmdlets-over-objects.xsdis missing in GithubCmdletizationCoreResources.Xml_cmdletsOverObjectsXsdlikely needs to be reworked to make the schema validation work.