【问题标题】:How to fix XML validation error non-whitespace character are not allowed?如何修复 XML 验证错误不允许使用非空白字符?
【发布时间】:2016-08-01 04:17:54
【问题描述】:

Eclipse 对此抛出验证错误

s4s-elt-character:架构中不允许使用非空白字符 'xs:appinfo' 和 'xs:documentation' 以外的元素

对于以下 XML 文件。请帮我找出问题。好像没有。

<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>

【问题讨论】:

    标签: xml eclipse validation schema whitespace


    【解决方案1】:

    找到解决方案:)

    Eclipse > 首选项 > 网络连接 > 缓存 > 全部删除 和 干净的构建。

    参考:https://bugs.eclipse.org/bugs/show_bug.cgi?id=152355

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-25
      • 1970-01-01
      • 2018-09-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多