Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XML Catalog User entries ignored by embedded tomcat
XML Catalog User entries ignored by embedded tomcat [message #512108] Wed, 03 February 2010 17:53 Go to previous message
David Durham is currently offline David Durham
Messages: 9
Registered: July 2009
Junior Member
I'm extending spring with a namespace. The way that works you provide a schema xsd file in your jar and hook into spring xml processing for schema validation and such. In eclipse, the schema is expected to be available at a given location. For instance:

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:ws="http://mywork/namespace
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5 .xsd
http://mywork/namespace
http://mywork/namespace.xsd
">

Now.. I can add an entry in the eclipse XML catalog so that the XML editor works. However, when I launch my webapp with an embedded WTP tomcat instance, I see this error:

Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'myelement'

This is the same error the editor was giving before I added the user entry to xml catalogs. So, does WTP use those entries as well? It would appear not. Anyone seen this and have a solution?

Thanks.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:EL Syntax Error for no-args function
Next Topic:How to get Get JavaScript" type resolution" in script blocks of HTML/JSP files
Goto Forum:
  


Current Time: Thu May 23 18:09:17 EDT 2013

Powered by FUDForum. Page generated in 0.02514 seconds