I am trying to validate a XML element with XSD pattern validation using below pattern and it's not working. The required behavior is to allow all characters excepts the ones mentioned in pattern expression.
<xsd:pattern value="^[^><{}|^`\[\]\\\\]*$"/>
Valid data : TESTING
Invalid data : TE{ST]`I<NG
But above pattern is giving validation error for valid data(TESTING) also in XSD but same works fine if I use this pattern in java regualr expression match package. Please help.