我试图在Visual Studio 2019控制台应用程序中运行示例https://www.liquid-technologies.com/Reference/XmlStudio/webframe.html?XsdEditorNotation_Assert.html(使用XSD 1.1并断言验证xml),并在启动调试时引发异常:
Exception thrown: 'System.Xml.Schema.XmlSchemaException' in LiquidTechnologies.XmlObjects.Runtime.dll
An unhandled exception of type 'System.Xml.Schema.XmlSchemaException' occurred in LiquidTechnologies.XmlObjects.Runtime.dll
The 'http://www.w3.org/2001/XMLSchema:assert' element is not supported in this context.
我想通过XSD 1.1验证XML。在.NET应用程序中。
感谢您的回答。