Results 1 to 4 of 4

Thread: errors in webflow-showcase

  1. #1
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default 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. #2
    Join Date
    Aug 2006
    Location
    Brooklyn
    Posts
    556

    Default

    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.

  3. #3
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    Quote 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.
    Quote 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?

  4. #4
    Join Date
    Aug 2006
    Location
    Brooklyn
    Posts
    556

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •