Validating XML using XSD with regex pattern

Posted by Steel Plume on Stack Overflow See other posts from Stack Overflow or by Steel Plume
Published on 2010-04-10T15:50:08Z Indexed on 2010/04/10 15:53 UTC
Read the original article Hit count: 445

Filed under:
|
|
|

Hello,

I am parsing a XML file against a XSD containing some regex patterns used for checking input data, but only this regex generates an error, even if it passes into the Eclipse XSD plugin:

   InvalidRegex: Pattern value 
   '(((com|it|org)\.)+(\b[a-z]+[.]{1}\b)+)?[A-Z]{1}[A-Za-z]+' 
   is not a valid regular expression. The reported error was: 
   'This expression is not supported in the current option setting.'.

So, with SAX validator where can I find the fatal "current option setting"?

© Stack Overflow or respective owner

Related posts about java

Related posts about sax