Announcement Announcement Module
Collapse
No announcement yet.
errors in webflow-showcase Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • errors in webflow-showcase

    In the webflow-showcase project the DTD Schema URL in the file WEB-INF/spring/appservlet/webflow.xml says:
    Code:
    http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.3.xsd
    but there's no such DTD online and there are several validation errors because of this. The latest DTD available seem to be
    Code:
    http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd
    and changing to that get rid of the all errors but one:

    The line
    Code:
    <webflow:flow-builder-services id="flowBuilderServices" view-factory-creator="mvcViewFactoryCreator" 
    		development="true" validator="validator"  >
    has an unallowed validator attribute. I simply removed it.

    The file standard.jsp in "layouts" inlcudes the taglib URL http://www.springframework.org/security/tags , but as that is currently offline there is an error. This is the same URL as in the documentation so seemingly nothing's wrong with it.

    After these errors have been addressed (and the taglib URL simply ignored), the project builds and runs in Tomcat without noticeable problems.

  • #2
    These are IDE errors since the IDE is unable to find the schemas. That won't get in the way of deploying and running since the schemas are included in the spring-webflow jar. The new schemas are being published today and should be available soon.

    Comment


    • #3
      Originally posted by Rossen Stoyanchev View Post
      These are IDE errors since the IDE is unable to find the schemas..
      I'd rather say it's an error because the DTD isn't online. That's not the IDE's fault is it? The IDE is STS 2.5.2 BTW.
      Originally posted by Rossen Stoyanchev View Post
      That won't get in the way of deploying and running since the schemas are included in the spring-webflow jar. The new schemas are being published today and should be available soon.
      OK, but why isn't the spring security taglib URL online? It's not new.

      Is there a way to set up STS to validate locally to the jars instead?

      Comment


      • #4
        By "IDE errors" I meant errors flagged by the IDE as opposed to errors that would prevent the application from deployed and used. I did not mean to imply it's an error in the IDE. I can see the ambiguity though.

        You can set up XML catalog entries in the Eclipse preferences under XML - XML Catalog.

        Comment

        Working...
        X