-->

XSD/Schema validation workaround in .net core?

2019-02-17 07:37发布

问题:

I got from https://github.com/dotnet/corefx/issues/3633, that XSD Schema Validation now is not yet supported, and planned in .Net Core 1.2.0 whose release date is Spring, 2017.

However it's one of the key features of our product, so it somehow has to be supported. Now .Net Standard doesn't even have System.Xml.Schema when we thought to temporarily use full .net core, yet doesn't help.

Before v1.2.0, is there any workaround to do the xsd schema validation?

回答1:

If you need some functionality that needs to be run in .Net Core library, you may try to port your product with portable library workaround.

However, it's nearly the .NET Core 2.0 Preview time, so you may basically wait for it.