Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 xsl:analyze string fails if no match - ID: 656857
Last Update: Comment added ( mhkay )

When xsl:analyze string is executed and the supplied
pattern does not match the input string, then the
entire input string should be passed to the
<xsl:non-matching-substring> element. But the code
doesn't pass the text to either the matching-substring
or non-matching-substring instruction, it is simply
discarded.

Applies to 7.3.1 and all releases since regular
expressions were introduced (7.2).

Source code fixed: add the line

hasNext = true;

in net.sf.saxon.instruct.RegexIterator, line 76.

Test case added, regex12


Michael Kay ( mhkay ) - 2002-12-20 15:42

5

Closed

None

Michael Kay

XSLT conformance

v7.3.1

Public


Comment ( 1 )

Date: 2003-02-17 12:19
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Fixed in 7.4


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2003-02-17 12:19 mhkay
close_date - 2003-02-17 12:19 mhkay
artifact_group_id None 2002-12-20 15:43 mhkay