logback-XSD icon indicating copy to clipboard operation
logback-XSD copied to clipboard

placeholder variable support

Open flozano opened this issue 4 years ago • 0 comments

If using variables in some places with specific narrow validations (file sizes, boolean true/false values...), I get:

Multiple annotations found at this line:
	- cvc-pattern-valid: Value '${logback.debug.http.max-file-size}' is not facet-valid with respect to pattern '[1-9][0-9]*(KB|MB|GB)?' for type 
	 'FileSize'.
	- cvc-type.3.1.3: The value '${logback.debug.http.max-file-size}' of element 'maxFileSize' is not valid.

basically any element should be able to contain either a valid value or a placeholder expression (anything between ${ }). In pure string elements this already works as ${..} is a valid string, but in more strict elements the validation fails.

image

flozano avatar Dec 06 '20 10:12 flozano