Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-1296

[PATCH] FOP can't handle mixed-case hyphenation exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 0.93
    • None
    • unqualified
    • None
    • Operating System: other
      Platform: Other
    • 41443

    Description

      FOP can't handle mixed-case words (for example German nouns) as hyphenation
      exceptions, for example "Dateiname" (file name) which is hyphenated
      as "Datein-ame" ("Datei-name" would be correct).

      The words in the stoplist are mixed-case. However, when FOP checks if there's
      an hyphenation exception for a certain word (that is, it is in the stop list),
      all the characters of the word have already been converted to lowercase.
      Therefore mixed-case words in the stoplist cannot be found.

      With the attached patch applied, FOP enters the exception words in lowercase
      into the stop list.

      Attachments

        1. patch.diff
          0.4 kB
          Joe A.

        Activity

          People

            Unassigned Unassigned
            joe-fop@7val.com Joe A.
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: