Details

    • Type: Wish Wish
    • Status: Reopened
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:
      None
    • Environment:
      Operating System: Other
      Platform: Other

      Description

      The ISO-8859-15 encoding is currently not supported by Xerces.

      As this is a very widely used encoding now because it contains the
      Euro-Currency-Symbol, I think it would make sense to have support for it
      directly in Xerces similar to the support for ISO-8859-1.

      This would avoid having to use the big ICU-Library only for this one encoding.

        Activity

        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12572819 ] jira [ 12595471 ]
        Mark Thomas made changes -
        Workflow jira [ 29038 ] Default workflow, editable Closed status [ 12572819 ]
        Boris Kolpackov made changes -
        Issue Type Bug [ 1 ] Wish [ 5 ]
        Assignee Xerces-C Developers Mailing List [ xerces-c-dev@xml.apache.org ]
        Priority Major [ 3 ] Minor [ 4 ]
        Component/s Utilities [ 11066 ]
        Component/s Miscellaneous [ 11070 ]
        Alberto Massari made changes -
        Priority Major [ 3 ]
        Serge Knystautas made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 27287 19043
        Hide
        Dominik Stadler added a comment -

        I have read the Apache-License and I want to contribute the code to Xerces.

        Show
        Dominik Stadler added a comment - I have read the Apache-License and I want to contribute the code to Xerces.
        Hide
        Neil Graham added a comment -

        Thanks Dominic; we'll do our best to get this in for Xerces 2.6--although that
        won't come out for a while.

        Apache's getting more strict about code contributions though, so I'll have to
        ask whether you have the right to contribute this code to Apache--that is,
        whether you've read the Apache license and the code you're contributing is your
        own IP.

        Show
        Neil Graham added a comment - Thanks Dominic; we'll do our best to get this in for Xerces 2.6--although that won't come out for a while. Apache's getting more strict about code contributions though, so I'll have to ask whether you have the right to contribute this code to Apache--that is, whether you've read the Apache license and the code you're contributing is your own IP.
        Hide
        Dominik Stadler added a comment -

        Created an attachment (id=10633)
        XML885915Transcoder.cpp: Source for ISO-8859-15 encoding

        Show
        Dominik Stadler added a comment - Created an attachment (id=10633) XML885915Transcoder.cpp: Source for ISO-8859-15 encoding
        Hide
        Dominik Stadler added a comment -

        Created an attachment (id=10632)
        XML885915Transcoder.hpp: Header-File for ISO-8859-15 encoding

        Show
        Dominik Stadler added a comment - Created an attachment (id=10632) XML885915Transcoder.hpp: Header-File for ISO-8859-15 encoding
        Hide
        Dominik Stadler added a comment -

        Ok, we implemented an XML885915Transcoder, I will attach it to this bug.

        Show
        Dominik Stadler added a comment - Ok, we implemented an XML885915Transcoder, I will attach it to this bug.
        Hide
        Neil Graham added a comment -

        But if you're willing to donate the new encoding support to the Xerces project,
        then I imagine we'd consider including it by default.

        Show
        Neil Graham added a comment - But if you're willing to donate the new encoding support to the Xerces project, then I imagine we'd consider including it by default.
        Hide
        Dominik Stadler added a comment -

        I found some information that indicates that it is possible to add custom
        encodings through an interface in Xerces that would allow us to add a separate
        XMLTranscoder that provides the nessecary encoding. Look at
        http://marc.theaimsgroup.com/?l=xerces-c-dev&m=98043762007369&w=2.
        Unfortunately, this is not well documented, but we will try to use that to
        provide the encoding in Xerces.

        Nevertheless, I think the Bug can be WONTFIX, as we can work around it on our own.

        Show
        Dominik Stadler added a comment - I found some information that indicates that it is possible to add custom encodings through an interface in Xerces that would allow us to add a separate XMLTranscoder that provides the nessecary encoding. Look at http://marc.theaimsgroup.com/?l=xerces-c-dev&m=98043762007369&w=2 . Unfortunately, this is not well documented, but we will try to use that to provide the encoding in Xerces. Nevertheless, I think the Bug can be WONTFIX, as we can work around it on our own.
        Dominik Stadler created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Dominik Stadler
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development