jax-ws
  1. jax-ws
  2. JAX_WS-957

Inscope namespaces are not used, when XMLStreamBuffer.readAsXMLStreamReader() is called

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Inscope namespaces are not used, when XMLStreamBuffer.readAsXMLStreamReader() is called.
      For ex:
      Map<String, String> inscopeNamespaces = this.nss;
      MutableXMLStreamBuffer buffer = new MutableXMLStreamBuffer();
      StreamReaderBufferCreator creator = new StreamReaderBufferCreator(buffer);
      XMLStreamBuffer mark = new XMLStreamBufferMark(inscopeNamespaces, creator);
      creator.createElementFragment(reader, false);

      mark.readAsXMLStreamReader() // --> Does not give the inscope namespaces.

        Activity

        Hide
        ramapulavarthi added a comment -

        Fixed in XMLStreamBuffer.
        http://java.net/projects/xmlstreambuffer/sources/svn/revision/312
        summary: Inject buffer's inscopeNamespaces, when the top element of the stack is processed.
        revision: 312
        author: ramapulavarthi
        date: 2011-06-30 17:41:39 UTC (14 minutes)
        message: Inject buffer's inscopeNamespaces, when the top element of the stack is processed.

        Show
        ramapulavarthi added a comment - Fixed in XMLStreamBuffer. http://java.net/projects/xmlstreambuffer/sources/svn/revision/312 summary: Inject buffer's inscopeNamespaces, when the top element of the stack is processed. revision: 312 author: ramapulavarthi date: 2011-06-30 17:41:39 UTC (14 minutes) message: Inject buffer's inscopeNamespaces, when the top element of the stack is processed.
        Hide
        Martin Grebac added a comment -

        AFAIK, this was fixed and integrated to jaxws.

        Show
        Martin Grebac added a comment - AFAIK, this was fixed and integrated to jaxws.

          People

          • Assignee:
            ramapulavarthi
            Reporter:
            ramapulavarthi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: