This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "Category:OWASP Content Validation using Java Annotations Project - SHIP Validator 0.3 Release - Roadmap"

From OWASP
Jump to: navigation, search
(Preliminary roadmap)
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
For this release we wished to add more javadoc, refactor the code to be more readable and add more diagrams to explain the code. In the work we discovered and fixed a bug in MetaConstraints. This bug was also in the previous two releases, but has been removed.
+
To get to a first stable release there are still a few things that need to be completed:
  
--------------------------------------------
+
* A full documentation of the framework architecture and a user manual.
                    Usage
+
* A bug tracking system
--------------------------------------------
+
* An implementation of a summary that can contain custom error messages and that is easy to query. The idea is to generate the summary in XML and use the standard XML tools to query it.
 
+
* More standard annotations
1) Add the SHIPValidator.jar to your classpath
 
2) Test whether it works by using the following command:
 
  java no.uib.ii.ship.validation.test.Webform
 
 
 
3) Add the following code to your application to use the validator:
 
 
 
  IValidatorFactory vf = new ValidatorFactory(); //Instantiate a validator factory
 
  Validator val = vf.getValidator(); // Create a validator
 
  ValidationSummary vs = val.validate(w); // validate the annotated object w
 
  System.out.println(vs.toString()); // See the outcome of the test
 
(notice that "val" can be reused without having to instantiate a new validator)
 
 
 
In the folder tex is possible to find the article describing the framework which can be used as a first draft of the manual.
 

Latest revision as of 09:25, 11 August 2009

To get to a first stable release there are still a few things that need to be completed:

  • A full documentation of the framework architecture and a user manual.
  • A bug tracking system
  • An implementation of a summary that can contain custom error messages and that is easy to query. The idea is to generate the summary in XML and use the standard XML tools to query it.
  • More standard annotations

This category currently contains no pages or media.