如何修复 XML 验证错误不允许使用非空白字符?
How to fix XML validation error non-whitespace character are not allowed?
Eclipse 对此抛出验证错误
s4s-elt-character: Non-whitespace characters are not allowed in schema
elements other than 'xs:appinfo' and 'xs:documentation'
下面的 XML 文件。请帮我找出问题所在。似乎有 none.
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">
...
</databaseChangeLog>
找到解决方案:)
Eclipse > 首选项 > 网络连接 > 缓存 > 全部删除
和
清理构建。
Eclipse 对此抛出验证错误
s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'
下面的 XML 文件。请帮我找出问题所在。似乎有 none.
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd">
...
</databaseChangeLog>
找到解决方案:)
Eclipse > 首选项 > 网络连接 > 缓存 > 全部删除 和 清理构建。