Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-62

i18n issue, variant not being picked up by Validator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 16073

    Description

      In my i18n application using Struts 1.1-b2, I've used the locale object (using
      the variant) provided to pick different validations rules.

      After upgrading to 1.1-b3, using version 1.0 of commons validator, the
      validations that used to work are now throwing null pointer exceptions (when i
      turn off validation for the specific form in struts-config everything works)

      I was reading the DTD for the 1.0 version of the Commons Validator
      http://jakarta.apache.org/commons/dtds/validator_1_0.dtd, and noticed that the
      formset element, no longer takes in the VARIANT as an attribute. I was
      wondering why that was taken out or if it is taken out, or is there a mistake
      in the DTD?

      I know 1.1b-3 still supports the locale w/ variant as all of my
      ApplicationResources.properties files with variants are being picked up, what
      changed in the the Validator? Please take a look.

      Thanks,

      -Jeremy

      Attachments

        Activity

          People

            Unassigned Unassigned
            jeremytan@scualum.com Jeremy Tan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: