Announcement Announcement Module
No announcement yet.
XSD Location Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • XSD Location

    Here's a quick one. In my conf file I have

    <beans:beans xmlns=""
    xsi:schemaLocation=" ( ...)>

    <channel id="input"/>
    <service-activator input-channel="input" ref="handler" output-channel="responses"/>
    <gateway id="testService" (...)/>
    Although everything works fine, the <service-activator> and <gateway> entries (but not the others) give a error in the Eclipse editor

    Error - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'gateway'.
    which is a little annoying because I can't have code-completion and the like.

    However if I change the xsi:schemaLocation to
    the errors disappear. Isn't that strange, knowing the former xsd:includes the later?

  • #2
    This is an eclipse issue. Eclipse shouldn't even be looking at that url (it is a uri technically, and has nothing to do with an xsd file being accessible over http from your particular location). That said, it is a bit of a pain.