Spring.NET 和 Common.Logging XML 架构 (XSD) 是否存在?
Spring.NET 1.2.0 M1 附带了几个用于App.config
中使用)、
我们希望拥有这些,以便 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它们不存在于 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.
您是否尝试过使用 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.