JBoss Web Services
  1. JBoss Web Services
  2. JBWS-2885

JAX-RPC - CDATA Responses Being Incorrectly Escaped

    Details

    • Type: Bug Bug
    • Status: Reopened Reopened (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: jbossws-native-3.2.2
    • Fix Version/s: None
    • Component/s: jbossws-jaxrpc
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      For JAX-RPC endpoints where the String response contains a CDATA section the '<' and '>' characters are being incorrectly escaped.

      Looking in the XML Language spec I see where there is a requirement in
      section 2.4 for these characters to be escaped: -

      http://www.w3.org/TR/2000/WD-xml-2e-20000814#syntax

      However moving onto section 2.7 and CDATA sections these should not be
      escaped.

        Issue Links

          Activity

          Hide
          Darran Lofthouse
          added a comment -

          This actually needs to be a JAXB change within the ContentWriter class replacing the writeNormalized method.

          Show
          Darran Lofthouse
          added a comment - This actually needs to be a JAXB change within the ContentWriter class replacing the writeNormalized method.

            People

            • Assignee:
              Unassigned
              Reporter:
              Darran Lofthouse
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: