【发布时间】:2012-09-29 16:46:43
【问题描述】:
自从我今天更新到 GAE 1.7.2.1 后,我的所有 jdoconfig.xml 文件都在 eclipse 中出现验证错误。
我有默认的 jdoconfig.xml 内容:
[...]
<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">
[...]
Eclipse 验证抛出:
Referenced file contains errors (http://java.sun.com/xml/ns/jdo/jdoconfig).
For more information, right click on the message in the Problems View and
select "Show Details..."
点击详细信息时,我可以看到一堆行,例如:
s4s-elt-character: Non-whitespace characters are not allowed in schema elements
other than 'xs:appinfo' and 'xs:documentation'. Saw 'var_U = "undefined";'.
在“Saw ...”中的不同行和不同内容
它发生在我开始使用 google 插件中的“新 Web 应用程序项目...”的每个项目中。
那么有人有这个问题吗?有什么办法吗?
【问题讨论】:
标签: eclipse google-app-engine jdo xsd-validation