Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6342688

javax.xml.namespace.QName needs readObject() method for prefix field

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 5.0u4
    • Fix Version/s: 5.0
    • Component/s: xml
    • Subcomponent:
    • CPU:
      other
    • OS:
      generic

      Backports

        Description

        J2SE 5 now includes a javax.xml.namespace.QName class, which allows a prefix to be specified (which is an alias for the namespace). This class has in fact existed for several years in WAS and used by under Sun JSRs 67 ( SAAJ ) and 101 (JAX-RPC 1.0). The original version of QName didn't have a prefix member variable or associated get/set methods.
         
        The problem we now face is that WSDL4J is widely used as a component within other middleware products and components so there are serialized QName objects around that don't have a prefix field.
         
        If these are deserialized under J2SE 5.0 the prefix field will be ignored - i.e. left as null, which doesn't comply with the QName javadoc for J2SE 1.5 which says default should be "".

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  joehw Joe Wang
                  Reporter:
                  elarsen Erik Larsen (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: