Results 1 to 2 of 2

Thread: Bug in isXopPackage function in v1.5.6

  1. #1

    Default Bug in isXopPackage function in v1.5.6

    There is a bug in isXopPackage function in v1.5.6 in Jaxb2Marshaller class.

    Here is the code for it:

    public boolean isXOPPackage() {
    return mimeContainer.convertToXopPackage();
    }

    This seems harmless until you replace Sun's Jaxb2 implementation with EclipseLink (or any other implementation that may call isXopPackage more than once).

    If the function above gets called more than once, it ends up setting / appending to the Content-Type header more than once and you end up with a header such as this, which causes the marshalling to fail:

    ****Content-Type Value=<application/xop+xml;type="application/xop+xml;type="text/xml"">

  2. #2

    Default

    Please create a Jira issue for this.
    Tareq Abedrabbo

    My Twitter
    My Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •