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

substring-before and substring-after

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.4.x
    • None
    • XPathC
    • None
    • Operating System: Linux
      Platform: PC
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: