User Profile

Collapse

Profile Sidebar

Collapse
ashoksharma2621
ashoksharma2621
Last Activity: Jul 6 '06, 09:24 AM
Joined: Jun 21 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • SaxparserException InvalidRegex: Pattern value '[A-Za-z-.]*'

    I'm using Xerces-J-2.6.2 it barks at me with
    org.xml.sax.SAX ParseException: InvalidRegex: Pattern value '[-+]?(\d+|\d+(\.\d+ )?%)(,\s*[-+]?(\d+|\d+(\.\d+ )?%))*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.'

    When i call this methd
    Code:
     
    public void validateWithCache(String xml, EntityResolver resolver) {
    // create the sax builder with the correct cache.
    ...
    See more | Go to post
    Last edited by Niheel; Aug 11 '06, 12:40 PM.

  • org.xml.sax.SAX ParseException: InvalidRegex

    I'm using Xerces-J-2.6.2 it barks at me with
    org.xml.sax.SAX ParseException: InvalidRegex: Pattern value '[-+]?(\d+|\d+(\.\d+ )?%)(,\s*[-+]?(\d+|\d+(\.\d+ )?%))*' is not a valid regular expression. The reported error was: ''-' is an invalid character range. Write '\-'.'

    When i call this methd
    public void validateWithCac he(String xml, EntityResolver resolver) {...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...