.net 核心中的 XSD/架构验证解决方法? [英] XSD/Schema validation workaround in .net core?

查看:37
本文介绍了.net 核心中的 XSD/架构验证解决方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我来自 https://github.com/dotnet/corefx/issues/3633,现在还不支持 XSD Schema Validation,计划在 .Net Core 1.2.0 发布,发布日期为 2017 年春季.

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.

然而,它是我们产品的主要功能之一,因此必须以某种方式支持它.现在,当我们想暂时使用完整的 .net 核心时,.Net Standard 甚至没有 System.Xml.Schema,但没有帮助.

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.

v1.2.0 之前,是否有任何解决方法来进行 xsd 模式验证?

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

推荐答案

如果您需要一些需要在 .Net Core 库中运行的功能,您可以尝试使用 portable 库 解决方法.

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.

然而,它几乎是.NET Core 2.0 Preview时间,所以你基本上可以等待.

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

这篇关于.net 核心中的 XSD/架构验证解决方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆