logo       
Google Custom Search

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

[jira] Updated: (XERCESJ-589) Bug with pattern restriction on long strings: msg#00034

Subject: [jira] Updated: (XERCESJ-589) Bug with pattern restriction on long strings
     [ 
https://issues.apache.org/jira/browse/XERCESJ-589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich updated XERCESJ-589:
-----------------------------------------

    Assignee:     (was: Xerces-J Developers Mailing List)
    Priority: Blocker

> 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 Structures
>    Affects Versions: 2.3.0
>         Environment: Operating System: All
> Platform: All
>            Reporter: Mark Woon
>            Priority: Blocker
>         Attachments: 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 <sequence> and 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)
> ...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>