highsource / highsource/jsonix-schema-compiler

xs:pattern does not work and want to me to ascpe '-' char

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
138
Forks
37
PR merge metrics
No merged PRs in 30d

Description

I have following regex validation:






and getting the below error:

[ERROR] InvalidRegex: Pattern value '[_a-zA-Z0-9-+]+(\.[_a-zA-Z0-9-\+]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*(\.[a-zA-Z]{2,4})' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.'.
line 2559 of file:/D:/temp/XSDToJSON/xmls.xsd

[ERROR] org.hisrc.jsonix.execution.JsonixInvoker - The model is null, there was probably a problem parsing schemas.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.