Missing Namespace Declarations at the element level
---------------------------------------------------

                 Key: TUSCANY-2624
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2624
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
            Reporter: Dhaval Chauhan
            Assignee: Dhaval Chauhan


- The current implementation of the XMLStreamReader doesn't keep track of the 
namespace declarations (NamespaceContext) at the element level. 
- These missing declarations are required by the AnyElementProcessor while 
trying to get the NamespaceContext.

For example, in the composite file below, while reading using default 
implementaion fo the XMLStreamReader, the declarations of the namespaces other 
than xmlns:x="http://x"; are invisible at the element1 level. 

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
        xmlns:x="http://x";
        xmlns:calc="http://calc";
        targetNamespace="http://calc";
        name="Calculator">

    <x:element1 attr="attribute1">
                <x:subElement1 attr1="attribute1"/>
                <x:subElement2 />
    </x:element1>
   ........................
  .........................


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to