<commit_before>gwt-commons-validator
=====================

A compatible GWT port of the apache commons validator, which provides most of the functionality also on client (browser) side.

The build packages are currently not on a indexed maven repository, but you can add my private repository with the following settings:

```
  <repositories>
    <repository>    
      <id>de.knightsoft-net</id>    
      <url>http://www.knightsoft-net.de/maven/</url>    
      <snapshots>      
        <enabled>true</enabled> 
      </snapshots>    
      <releases>      
        <enabled>true</enabled>
      </releases>  
    </repository>
  </repositories>
```

The Package itself has to be includes as binary and source package. I've done it this way, to give you the possibility to take the original apache commons binary package (full compatible) and combine it with the gwt-commons version of the source package for the gwt compiler, this is useful, if you do have the binary package already in the dependency list.

```
    <dependency>
      <groupId>gwt-commons-validator</groupId>
      <artifactId>gwt-commons-validator</artifactId>
      <version>1.4.0-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>gwt-commons-validator</groupId>
      <artifactId>gwt-commons-validator</artifactId>
      <version>1.4.0-SNAPSHOT</version>
      <classifier>sources</classifier>
      <scope>provided</scope>
    </dependency>
```<commit_msg>added gwt.xml entry into README.md<commit_after>gwt-commons-validator
=====================

A compatible GWT port of the apache commons validator, which provides most of the functionality also on client (browser) side.

The build packages are currently not on a indexed maven repository, but you can add my private repository with the following settings:

```
  <repositories>
    <repository>    
      <id>de.knightsoft-net</id>    
      <url>http://www.knightsoft-net.de/maven/</url>    
      <snapshots>      
        <enabled>true</enabled> 
      </snapshots>    
      <releases>      
        <enabled>true</enabled>
      </releases>  
    </repository>
  </repositories>
```

The Package itself has to be includes as binary and source package. I've done it this way, to give you the possibility to take the original apache commons binary package (full compatible) and combine it with the gwt-commons version of the source package for the gwt compiler, this is useful, if you do have the binary package already in the dependency list.

```
    <dependency>
      <groupId>gwt-commons-validator</groupId>
      <artifactId>gwt-commons-validator</artifactId>
      <version>1.4.0-SNAPSHOT</version>
    </dependency>
    <dependency>
      <groupId>gwt-commons-validator</groupId>
      <artifactId>gwt-commons-validator</artifactId>
      <version>1.4.0-SNAPSHOT</version>
      <classifier>sources</classifier>
      <scope>provided</scope>
    </dependency>
```

GWT Integration
---------------

Add this inherit command into your project .gwt.xml file:

```
<inherits name="org.apache.commons.GWTCommonsValidator" />
```
{'fraction_non_alphanumeric': 0.119533527696793, 'fraction_numerical': 0.003887269193391642, 'mean_word_length': 3.1956521739130435, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 76, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1706046', 'n_tokens_mistral': 925, 'n_tokens_neox': 865, 'n_words': 275}