简单自定义xsd Demo
spring.handlers 内容
http\://www.maila88.com/peanut/schema/demo=com.spring.support.DemoNameSpaceHandler
handlers 文件指定schema用DemoNameSpaceHandler处理
spring.schemas
http\://www.maila88.com/peanut/schema/demo.xsd=META-INF/demo.xsd
schemas指定到相应xsd
本文介绍如何通过spring.handlers和spring.schemas配置文件来指定自定义的XSD文件处理方式,实现简单自定义xsdDemo的功能。具体包括使用DemoNameSpaceHandler处理schema,以及将demo.xsd映射到相应的文件路径。
1205

被折叠的 条评论
为什么被折叠?



