Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.0.11, 4.1.2
    • Labels:
      None
    • Number of attachments :
      0

      Description

      from ReaderConfig:

      case PROP_NORMALIZE_LFS:
      doTreatCharRefsAsEnts(ArgUtil.convertToBoolean(propName, value));
      break;

      looks like a typo? this ends up twiddling the wrong bit; CFG_TREAT_CHAR_REFS_AS_ENTS rather than CFG_NORMALIZE_LFS

      Workaround seems to be:

      ((WstxInputFactory)inputFactory).getConfig().doNormalizeLFs(false);

        Activity

        Hide
        Tatu Saloranta added a comment -

        Yes, definitely sounds like cut'n paste error on developer's (my...) part.

        Show
        Tatu Saloranta added a comment - Yes, definitely sounds like cut'n paste error on developer's (my...) part.
        Hide
        Tatu Saloranta added a comment -

        Fixed for 4.0, 4.1, trunk. 3.2 was ok, this was introduced as part of refactoring (but surprisingly not caught by unit tests)

        Show
        Tatu Saloranta added a comment - Fixed for 4.0, 4.1, trunk. 3.2 was ok, this was introduced as part of refactoring (but surprisingly not caught by unit tests)
        Hide
        Mike Sokolov added a comment -

        Thanks, Tatu

        Show
        Mike Sokolov added a comment - Thanks, Tatu

          People

          • Assignee:
            Tatu Saloranta
            Reporter:
            Mike Sokolov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: