Spring.NET 和 Common.Logging XML 架构 (XSD) 是否存在?

发布于 2024-07-08 09:01:06 字数 966 浏览 6 评论 0原文

Spring.NET 1.2.0 M1 附带了几个用于的 XSD 文件。 但是,它是一个不完整的集合,因为它似乎不包含。 (在 App.config 中使用)、元素。 此外,Common.Logging 似乎没有任何 XSD 包含在来源或分布。

我们希望拥有这些,以便 Visual Studio 在验证 App.config 时不会在编译时抱怨它们。 架构就位是件好事,因为编译时检查可以帮助您在程序在 Spring 中出现问题之前找到 XML 错误。

这些是否存在于任何地方/正在开发中,或者是否有人自己编写了一些?

同样,有人看到/解决了以下消息吗?

找不到属性的架构信息 'http://schemas.microsoft.com/Visual-Studio-Intellisense:friendname' (spring-objects-1.1.xsd)

Spring.NET 1.2.0 M1 comes with several XSD files for the <objects> node, database stuff, etc. However, it is an incomplete collection because it does not seem to include <spring> (used in App.config), <context>, or <parsers> elements. Additionally, Common.Logging doesn't appear to have any XSD's included in the source or distribution.

We'd like to have these so that Visual Studio won't complain about them on compile time when it validates the App.config. It's nice having the schemas in place, because of the compile-time check which helps you find XML bugs before your program throws up in Spring.

Do these exist anywhere / are in development or, alternatively, has anyone written some themselves?

On the same token, has anyone seen/resolved the following message?

Could not find schema information for the attribute
'http://schemas.microsoft.com/Visual-Studio-Intellisense:friendlyname'
(spring-objects-1.1.xsd)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

偷得浮生 2024-07-15 09:01:07

它们不存在于 App.config 中使用的 或 或其他顶级元素。 请在此处输入 Spring 以及通用日志记录的 JIRA 问题- 此处

They don't exist for or or the other top level elements that are used in App.config. Please enter a JIRA issue for Spring here as well as for Common Logging - here.

东京女 2024-07-15 09:01:07

您是否尝试过使用 XSD 工具将 XML 输出文件逆向工程为您需要的 XSD? 我在为 log4net 编写自己的工具来获取 XSD 文件时做了类似的事情。

Have you tried using the XSD tool to reverse engineer an XML output file into the XSD you need? I did something similar when writing my own tool for log4net to get an XSD file.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文