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

substring-before and substring-after

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment