在使用xmlns
URI时,是否最好使用https
协议?
例如,手册中推荐的方式是:
<http xmlns="http://www.springframework.org/schema/security"/>
这种方式合法且更好吗?
<http xmlns="https://www.springframework.org/schema/security"/>
- 是否有XML解析器尝试连接由
xmlns
URI定义的地址? - 解析器总是通过
xsi:schemaLocation
属性下载模式吗?