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

[validator] Built-in JavaScript incompatible with modern AJAX techniques

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1 (alpha)
    • 1.3.0 Release
    • None
    • None
    • Operating System: other
      Platform: Other

    • 37134

    Description

      I just tried applying the prototype[1] JavaScript library to my project and
      discovered that its mechanism of adding an "extends" function to the base
      JavaScript object causes the validation routines in Commons Validator to break
      because they don't know what to do with the "extends" member.

      Matt Raible reported a similar problem against JSON[2]

      [1]http://prototype.conio.net/
      [2]http://oss.metaparadigm.com/list-archives/json-rpc-java/2005-February/000049.html

      I know there have been big potential changes to the validator JS for a while;
      maybe this is a further motivator.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--validator-javascript.zip
          13 kB
          Philippe Mouawad
        2. ASF.LICENSE.NOT.GRANTED--validator-patch.txt
          20 kB
          Philippe Mouawad
        3. ASF.LICENSE.NOT.GRANTED--validator-1.2.0-patch.txt
          32 kB
          Philippe Mouawad

        Issue Links

          Activity

            People

              niallp Niall Pemberton
              germuska Joseph Lad Germuska
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: