Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » s4s-elt-character: Non-whitespace characters
s4s-elt-character: Non-whitespace characters [message #187328] Tue, 30 January 2007 09:30 Go to next message
Eclipse UserFriend
Originally posted by: arlo13.free.fr

Hello,

Since 1 week, I have very strange errors on my web.xml, and I really don't
know why... When I create a simple webapp porject, I got such errors on my
web.xml :

43:34 s4s-elt-character: Non-whitespace characters are not allowed in
schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '//
Set your page defaults here'.

45:29 s4s-elt-character: Non-whitespace characters are not allowed in
schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'var
tacticJS = '106AJ04W';'.

etc...

I have exactly 17 errors like this, even with an empty web.xml...


When I validate my web.xml, it's correct so maybe it's on a included xsd?
My web.xml begins like this :

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">


Thanks a lot!
Nicolas.
Re: s4s-elt-character: Non-whitespace characters [message #187454 is a reply to message #187328] Thu, 01 February 2007 09:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arlo13.free.fr

Any ideas?
Re: s4s-elt-character: Non-whitespace characters [message #187469 is a reply to message #187328] Thu, 01 February 2007 20:44 Go to previous message
Mark Hutchinson is currently offline Mark HutchinsonFriend
Messages: 53
Registered: July 2009
Member
It sounds like you might be running into the web.xml problem people have
been seeing lately. Try having a look at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=152355

Mark

Nicolas wrote:
> Hello,
>
> Since 1 week, I have very strange errors on my web.xml, and I really
> don't know why... When I create a simple webapp porject, I got such
> errors on my web.xml :
>
> 43:34 s4s-elt-character: Non-whitespace characters are not allowed in
> schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '//
> Set your page defaults here'.
>
> 45:29 s4s-elt-character: Non-whitespace characters are not allowed in
> schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'var
> tacticJS = '106AJ04W';'.
>
> etc...
>
> I have exactly 17 errors like this, even with an empty web.xml...
>
>
> When I validate my web.xml, it's correct so maybe it's on a included
> xsd? My web.xml begins like this :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
> http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
>
>
> Thanks a lot!
> Nicolas.
>
Previous Topic:VersionsVersionsVersions
Next Topic:XSD Editor collapsing/expanding
Goto Forum:
  


Current Time: Thu Mar 28 21:45:31 GMT 2024

Powered by FUDForum. Page generated in 0.04289 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top