Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-245

substring-before and substring-after

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.4.x
    • Fix Version/s: None
    • Component/s: XPathC
    • Labels:
      None
    • Environment:
      Operating System: Linux
      Platform: PC
    • Bugzilla Id:
      17265

      Description

      When
      substring-before("Some string with a newline","&#xA")
      or
      substring-after("Some string with a newline","&#xA")
      are called, they return strings of 0 length, even though
      contains("Some string with a newline","&#xA")
      evaluates to TRUE.

      When the split string is expanded to include a non-escaped character,
      such ".&#xA", the routines return proper values and treats the newline
      character properly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                houh@rcn.com Henry Houh
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: