Return-Path: Delivered-To: apmail-xerces-j-dev-archive@www.apache.org Received: (qmail 73844 invoked from network); 25 Aug 2009 19:21:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Aug 2009 19:21:59 -0000 Received: (qmail 77643 invoked by uid 500); 25 Aug 2009 19:22:24 -0000 Delivered-To: apmail-xerces-j-dev-archive@xerces.apache.org Received: (qmail 77628 invoked by uid 500); 25 Aug 2009 19:22:24 -0000 Mailing-List: contact j-dev-help@xerces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: j-dev@xerces.apache.org Delivered-To: mailing list j-dev@xerces.apache.org Received: (qmail 77620 invoked by uid 99); 25 Aug 2009 19:22:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 19:22:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2009 19:22:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1E74D234C4AD for ; Tue, 25 Aug 2009 12:22:00 -0700 (PDT) Message-ID: <1922271135.1251228120123.JavaMail.jira@brutus> Date: Tue, 25 Aug 2009 12:22:00 -0700 (PDT) From: "Maycon Oliveira (JIRA)" To: j-dev@xerces.apache.org Subject: [jira] Commented: (XERCESJ-589) Bug with pattern restriction on long strings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/XERCESJ-589?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D127= 47589#action_12747589 ]=20 Maycon Oliveira commented on XERCESJ-589: ----------------------------------------- Guys, any change about this issue? The things start to be more complicated.= My country government created some schemas that when using JAXB or DOM o= r any other parser causes this error.=20 I=C2=B4m using jdk 1.6.14 and my OS is Windows XP. I just cannot change de = expression because it is law....=20 Any workaround?=20 > Bug with pattern restriction on long strings > -------------------------------------------- > > Key: XERCESJ-589 > URL: https://issues.apache.org/jira/browse/XERCESJ-589 > Project: Xerces2-J > Issue Type: Bug > Components: XML Schema 1.0 Structures > Affects Versions: 2.3.0 > Environment: Operating System: All > Platform: All > Reporter: Mark Woon > Attachments: RegularExpression.java, RegularExpression.java, Regu= larExpression.java, test.xml, test.xsd, test.zip > > > There is a bug with applying a pattern restriction on long strings while = trying > to validate an XML file against a schema. I'm including an xml file and = xsd > file that demonstrates this problem. One character less in an= d the > problem does not occur. > As it is, I'm getting > java.lang.StackOverflowError > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > at > org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown = Source) > ... --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org For additional commands, e-mail: j-dev-help@xerces.apache.org