facebook

DWR XML Schema

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #290345 Reply

    jslate73
    Participant

    I’m using Spring and DWR, and I’m getting the following warnings for any lines in my Spring configuration files that have <dwr:configuration>:

    Unable to locate Spring NamespaceHandler for element ‘dwr:configuration’ of schema namespace ‘http://www.directwebremoting.org/schema/spring-dwr&#8217;

    If I hover over the <dwr:configuration> tag, I get the full description of the tag and what it does from the schema (“The element that can be used to specify DWR configuration that does not relate directly to a Spring-managed bean.” So it seems to be reading the schema okay.

    I have the following user specified entry in my XML catalog:

    Location: mumms/WebContent/WEB-INF/config/spring-dwr-2.0.xsd
    URI: platform:/resource/mumms/WebContent/WEB-INF/config/spring-dwr-2.0.xsd
    Key Type: Namespace Name
    Key: http://www.directwebremoting.org/schema/spring-dwr-2.0.xsd

    (I have to point out here that the interface for adding entries here is kinda ridiculous. You have to select “User Specified Entries” and then scroll down like a mile to see the add/edit/delete options.)

    In general it seems like you need to be some kind of an XML schema expert to troubleshoot these kinds of problems, it is all rather non-intuitive in MyEclipse to me anyway. 🙁

    #290385 Reply

    Loyal Water
    Member

    Can you please check if this link helps:-
    http://jira.springframework.org/browse/IDE-865

    #291287 Reply

    jslate73
    Participant

    Oh, so reading this:

    Please note that there is no DWR support within Spring IDE. Once you have the XSD corrected imported you will get warnings like: Unable to locate Spring NamespaceHandler for element ‘dwr:controller’ of schema namespace ‘http://www.directwebremoting.org/schema/spring-dwr&#8217;.

    That basically means that the DWR team either needs to provide Eclipse support for their namespace or at the very least use the Spring tools annotation on their XSD.

    …makes me think this needs to be addressed by the DWR team. Maybe I’ll contact them.

    #291290 Reply

    Loyal Water
    Member

    Yes, you should contact them. Let me know if you have any other queries for us.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: DWR XML Schema

You must be logged in to post in the forum log in