Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2206

Use char16_t and unicode literals to replace various XMLCh types

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Miscellaneous
    • Labels:
      None

      Description

      Currently, XMLCh can be a variety of 16-bit types depending upon the platform, from wchar_t, uint16_t, unsigned short, to char16_t.

      To reduce the platform-specific variability, fix XMLCh to char16_t, and also permit the use of u"" unicode string literals in the codebase. This will allow replacement of Unicode constants with direct use of literals.

      This will additionally reduce the size of the test matrix with only one character variant to test.

        Attachments

          Activity

            People

            • Assignee:
              rleigh Roger Leigh
              Reporter:
              rleigh Roger Leigh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: