XML schema or DTD for logback.xml?(logback.xml 的 XML 模式或 DTD?)
问题描述
我在网上看到过一些讨论,关于如果有一个 XML 模式或 DTD for logback.xml 文件至少在 IDEA 或 Eclipse 等 IDE 中具有非常基本的验证和自动完成功能,那该有多好,但是我从未见过任何解决方案.
I've seen several discussions on the net about how great it would be to have an XML schema or DTD for logback.xml file to have at least the very basic validation and auto-completion in IDEs like IDEA or Eclipse, but I never saw any solution.
是吗?
推荐答案
官方不支持文档,但是有一个独立的项目来提供Logback的Schema
It is not supported officially according to the documentation, but there is an independent project to provide Schema for Logback
但是,由于 Logback 配置的极大灵活性,Schema 无法支持所有可能的配置选项.
However, due to extreme flexibility of the Logback configuration, Schema cannot support all possible configuration options.
这篇关于logback.xml 的 XML 模式或 DTD?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:logback.xml 的 XML 模式或 DTD?
基础教程推荐
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 如何对 Java Hashmap 中的值求和 2022-01-01
