Results 1 to 3 of 3

Thread: Getting Roo site passed Web Page Validator - errors on "version="2"

  1. #1

    Default Getting Roo site passed Web Page Validator - errors on "version="2"

    My Roo generated web pages, when passed into W3C HTML validation, give the error

    Code:
    Attribute version not allowed on element div at this point.
    The offending line is <div version="2.0">

    The version="2.0" is coming from

    Code:
    <div xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">
    Can I kill the version="2.0" without breaking something? Somewhat interested in what version="2.0" is for, google tells me nothing.

  2. #2
    Join Date
    Jun 2008
    Location
    Philadelphia, PA, USA
    Posts
    212

    Default

    Hi, Greg. I agree, I don't see anything about this either. I'm thinking we should put a JIRA up to remove it or clarify the usage.
    Ken Rimple
    Chariot Solutions
    email: krimple@chariotsolutions.com
    work: www.chariotsolutions.com/education
    personal: www.rimple.com

    Author: Spring Roo in Action (Manning)
    MEAP Site: manning.com/rimple

  3. #3

    Default

    Ken, if it is good enough for you, its more than good enough for me.

    Raised Jira here https://jira.springsource.org/browse/ROO-3289

    In the mean time I will try removing version=2 and see if anything breaks. Will report back here.

    Greg

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
  •