Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSP version mismatch using WTP with BEA?
JSP version mismatch using WTP with BEA? [message #204144] Fri, 09 November 2007 20:57 Go to next message
Mike Evans is currently offline Mike Evans
Messages: 3
Registered: July 2009
Junior Member
I'm having a problem getting a JSF web project to build on Europa JEE.
The odd thing is, in my JSP page, the auto-complete brings up the
"deferredSyntaxAllowedAsLiteral" as a valid attribute of a <%@ page, but
once its there, I get a warning that seems to indicate that the build
process doesn't think its valid:

Undefined attribute name (deferredSyntaxAllowedAsLiteral)

Similar problem in my web.xml file: auto-complete will bring up a
deferred-syntax-allowed-as-literal tag, but I get the following "Problem":

cvc-complex-type.2.4.a: Invalid content was found starting with element
'deferred-syntax-allowed-as-literal'. One of
'{"http://java.sun.com/xml/ns/javaee":description,
"http://java.sun.com/xml/ns/javaee":display-name,
"http://java.sun.com/xml/ns/javaee":icon,
"http://java.sun.com/xml/ns/javaee":url-pattern}' is expected.
ProjectName/WebContent/WEB-INF web.xml line 30

It almost looks like auto-complete is JSP version 2.1 (or higher) and the
build is 2.0 (or lower).

Can this be fixed? Why the version mismatch?
Thanks in advance!
Re: JSP version mismatch using WTP with BEA? [message #204259 is a reply to message #204144] Mon, 12 November 2007 16:24 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Mev wrote:
> I'm having a problem getting a JSF web project to build on Europa JEE.
> The odd thing is, in my JSP page, the auto-complete brings up the
> "deferredSyntaxAllowedAsLiteral" as a valid attribute of a <%@ page, but
> once its there, I get a warning that seems to indicate that the build
> process doesn't think its valid:

Was this something from the Web Page Editor's UI, or did you really
mean from the source page?

--
Nitin Dahyabhai
Structured Source Editing


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: JSP version mismatch using WTP with BEA? [message #204267 is a reply to message #204259] Mon, 12 November 2007 18:44 Go to previous messageGo to next message
Mike Evans is currently offline Mike Evans
Messages: 3
Registered: July 2009
Junior Member
Nitin Dahyabhai wrote:

> Mev wrote:
>> I'm having a problem getting a JSF web project to build on Europa JEE.
>> The odd thing is, in my JSP page, the auto-complete brings up the
>> "deferredSyntaxAllowedAsLiteral" as a valid attribute of a <%@ page, but
>> once its there, I get a warning that seems to indicate that the build
>> process doesn't think its valid:

> Was this something from the Web Page Editor's UI, or did you really
> mean from the source page?

> --
> Nitin Dahyabhai
> Structured Source Editing

Are you asking if the error was from the Web Page Editor's UI? I'm
assuming it would be some sort of background build process in Eclipse that
would generate the warning message, but I'm not sure how a source page
could generate a warning -- I would think it would be some else that
generates a warning based on a source page.

I must not be understanding what you are asking for.

Mev
Re: JSP version mismatch using WTP with BEA? [message #204275 is a reply to message #204267] Mon, 12 November 2007 18:59 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2310
Registered: July 2009
Senior Member
Mev wrote:
> Are you asking if the error was from the Web Page Editor's UI? I'm
> assuming it would be some sort of background build process in Eclipse
> that would generate the warning message, but I'm not sure how a source
> page could generate a warning -- I would think it would be some else
> that generates a warning based on a source page.
> I must not be understanding what you are asking for.

I meant the "autocomplete." The source page doesn't know about that
attribute.

--
Nitin Dahyabhai
Structured Source Editing


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:XSD editor: nillable property?
Next Topic:creating a top down web service with eclipse
Goto Forum:
  


Current Time: Fri Oct 24 20:37:34 GMT 2014

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

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