Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Validation failed to read local xsd schema with servlet2.4 ??
Validation failed to read local xsd schema with servlet2.4 ?? [message #153787] Tue, 27 December 2005 21:15 Go to next message
Audin Chan is currently offline Audin ChanFriend
Messages: 6
Registered: July 2009
Junior Member
Hello all,

I tried Eclipse3.1.1+WTP1.0.

The xml catalog file is linked in "Window->Preferences->Web and XML->XML
Catalog". I downloaded all useful xml dtd and xsd files and managed as
local.

Then I create a dynamic web project based on Tomcat 5.0.28. It's failed to
validate the web.xml file. Here is error message:
--- begin ---
Referenced file contains errors
(file:D:/develop/eclipse_ide/xml_schema/webapp/web-app_2_4.x sd). For more
information, right click on the message and select "Show Details..."
--- end ---

But, if I create a Tomcat4.1.30 based project, It's OK.
If I delete local xml catalog setting, all is OK.

The problem doesn't exists in WTP0.7.

Any help?
Re: Validation failed to read local xsd schema with servlet2.4 ?? [message #153884 is a reply to message #153787] Tue, 27 December 2005 14:18 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Audin Chan wrote:
> Then I create a dynamic web project based on Tomcat 5.0.28. It's failed to
> validate the web.xml file. Here is error message:
> --- begin ---
> Referenced file contains errors
> (file:D:/develop/eclipse_ide/xml_schema/webapp/web-app_2_4.x sd). For more
> information, right click on the message and select "Show Details..."
> --- end ---

What key type, key and URI values were you using? I was unable to
reproduce this, but I only had web-app_2_4.xsd mapped locally.

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Validation failed to read local xsd schema with servlet2.4 ?? [message #153897 is a reply to message #153884] Wed, 28 December 2005 07:32 Go to previous messageGo to next message
Audin Chan is currently offline Audin ChanFriend
Messages: 6
Registered: July 2009
Junior Member
Nitin Dahyabhai wrote:
> What key type, key and URI values were you using? I was unable to
> reproduce this, but I only had web-app_2_4.xsd mapped locally.

URI: file:D:\develop\eclipse_ide\xml_schema\webapp\web-app_2_4.xs d
Key Type: Schema Location
Key: http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd

j2ee_1_4.xsd and jsp_2_0.xsd are also in the same folder. The error
details show that it failed to read schema document'j2ee_1_4.xsd' and
'jsp_2_0.xsd'.

Thanks for reply.
Re: Validation failed to read local xsd schema with servlet2.4 ?? [message #154780 is a reply to message #153787] Wed, 04 January 2006 16:30 Go to previous message
Audin Chan is currently offline Audin ChanFriend
Messages: 6
Registered: July 2009
Junior Member
Audin Chan wrote:
> Hello all,
>
> I tried Eclipse3.1.1+WTP1.0.
>
> The xml catalog file is linked in "Window->Preferences->Web and XML->XML
> Catalog". I downloaded all useful xml dtd and xsd files and managed as
> local.
>
> Then I create a dynamic web project based on Tomcat 5.0.28. It's failed to
> validate the web.xml file. Here is error message:
> --- begin ---
> Referenced file contains errors
> (file:D:/develop/eclipse_ide/xml_schema/webapp/web-app_2_4.x sd). For more
> information, right click on the message and select "Show Details..."
> --- end ---
>
> But, if I create a Tomcat4.1.30 based project, It's OK.
> If I delete local xml catalog setting, all is OK.
>
> The problem doesn't exists in WTP0.7.
>
> Any help?

This bug has been reported here.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=122102
Previous Topic:add bind key
Next Topic:What happened to pollinate
Goto Forum:
  


Current Time: Thu Apr 25 20:48:27 GMT 2024

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

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

Back to the top