How to solve validation error on xsi:noNamespaceSchemaLocation in jdoconfig.xml

Posted by mamuso on Stack Overflow See other posts from Stack Overflow or by mamuso
Published on 2012-09-29T16:46:43Z Indexed on 2012/12/04 17:05 UTC
Read the original article Hit count: 749

Since I updated today to GAE 1.7.2.1, I'm having validation errors in eclipse in all my jdoconfig.xml files.

I have the default jdoconfig.xml content :

[...]
<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">
[...]

And eclipse validation throws:

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

When clicking on details I can see a bunch of lines like:

s4s-elt-character: Non-whitespace characters are not allowed in schema elements
other than 'xs:appinfo' and 'xs:documentation'. Saw 'var_U = "undefined";'.

In different lines and different content in "Saw ... "

It occurs in every single project I start using the "New Web Application Project..." from the google plugin.

So does anyone have this problem? Any fix?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about google-app-engine