Author: kwin
Date: Mon Mar  6 14:46:22 2017
New Revision: 1785657

URL: http://svn.apache.org/viewvc?rev=1785657&view=rev
Log:
fix table and enumeration

Modified:
    sling/site/trunk/content/documentation/bundles/validation.mdtext

Modified: sling/site/trunk/content/documentation/bundles/validation.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/validation.mdtext?rev=1785657&r1=1785656&r2=1785657&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/validation.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/validation.mdtext Mon Mar  6 
14:46:22 2017
@@ -53,6 +53,7 @@ All methods to retrieve a validation mod
 
 ## ValidationResult
 The `ValidationResult` indicates whether a given `Resource` or `ValueMap` is 
valid or invalid according to a given validation model. In the latter case it 
aggregates one or more `ValidationFailure`s. Each `ValidationFailure` is 
encapsulating an error message and a severity. The severity may be set on the 
following locations (where locations on top may overwrite severity from 
locations below):
+
 1. validation model (per use case of a `Validator`)
 1. severity defined on the `Validator`
 1. the default severity (may be set through the OSGi configuration for PID 
"org.apache.sling.validation.impl.ValidationServiceImpl", is 0 by default)
@@ -64,8 +65,8 @@ The `ValidationModel` is constructed fro
  
 The resources should have the following format:
 
-  Property/Resource Name      | Property or Resource |  Type   |  Description  
 |  Mandatory   |  Example 
--------------------- | ------- | -------------- | -------------| ---------
+Property/Resource Name      | Property or Resource |  Type   |  Description   
|  Mandatory   |  Example 
+-------------------- | ------- | -------------- | -------------| --------- | 
------
 `sling:resourceType` | Property | `String` | Always `sling/validation/model`, 
otherwise model will never be picked up by Sling Validation. | yes | 
`sling/validation/model`
 `validatedResourceType` | Property | `String` | The resource type of the 
resource for which this validation model should be applied. Must always be 
relative (i.e. not start with a "/"). | yes | `my/own/resourcetype` 
 `applicablePaths` | Property |  `String[]` | Path prefixes which restrict the 
validation model to resources which are below one of the given prefixes. No 
wildcards are supported. If not given, there is no path restriction. If there 
are multiple validation models registered for the same resource type the one 
with the longest matching applicablePath is chosen. | no | `/content/mysite`


Reply via email to