You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Mark Ford (JIRA)" <ji...@apache.org> on 2009/02/17 19:25:02 UTC
[jira] Created: (ODE-519) Attributes and namespace declarations are
being removed from an element produced from an XQuery expression.
Attributes and namespace declarations are being removed from an element produced from an XQuery expression.
-----------------------------------------------------------------------------------------------------------
Key: ODE-519
URL: https://issues.apache.org/jira/browse/ODE-519
Project: ODE
Issue Type: Bug
Components: BPEL Runtime
Affects Versions: 2.0
Environment: ServiceMix
Reporter: Mark Ford
Priority: Critical
The following element was constructed by an XQuery expression:
<sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
<wsa:EndpointReference xmlns:pp="http://some-namespace" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
<wsa:Metadata>
<Service EndpointName="MyEndpoint">pp:SomeProxy</Service>
</wsa:Metadata>
</wsa:EndpointReference>
</sref:service-ref>
However, when the value is set on the partner link, it appears to have lost its namespace declarations and attributes.
<service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
<EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
<Metadata>
<Service>pp:SomeProxy</Service>
</Metadata>
</EndpointReference>
</service-ref>
- Notice that //Service/@EndpointName is now missing
- Notice that xmlns:pp="http://some-namespace" is now missing
This appears to be coming from DOMUtils.cloneNode(Document,Node). The code there does not consider the attributes or namespace declarations for the an element being cloned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (ODE-519) Attributes and namespace declarations
are being removed from an element produced from an XQuery expression.
Posted by "Mark Ford (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Ford reopened ODE-519:
---------------------------
namespace prefixes are being copied with your fix but regular attributes are not.
> Attributes and namespace declarations are being removed from an element produced from an XQuery expression.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ODE-519
> URL: https://issues.apache.org/jira/browse/ODE-519
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 2.0
> Environment: ServiceMix
> Reporter: Mark Ford
> Assignee: Karthick Sankarachary
> Priority: Critical
> Fix For: 1.3
>
>
> The following element was constructed by an XQuery expression:
> <sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <wsa:EndpointReference xmlns:pp="http://some-namespace" xmlns:wsa="http://www.w3.org/2005/08/addressing">
> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
> <wsa:Metadata>
> <Service EndpointName="MyEndpoint">pp:SomeProxy</Service>
> </wsa:Metadata>
> </wsa:EndpointReference>
> </sref:service-ref>
> However, when the value is set on the partner link, it appears to have lost its namespace declarations and attributes.
> <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
> <Metadata>
> <Service>pp:SomeProxy</Service>
> </Metadata>
> </EndpointReference>
> </service-ref>
> - Notice that //Service/@EndpointName is now missing
> - Notice that xmlns:pp="http://some-namespace" is now missing
> This appears to be coming from DOMUtils.cloneNode(Document,Node). The code there does not consider the attributes or namespace declarations for the an element being cloned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (ODE-519) Attributes and namespace declarations are
being removed from an element produced from an XQuery expression.
Posted by "Karthick Sankarachary (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthick Sankarachary closed ODE-519.
-------------------------------------
> Attributes and namespace declarations are being removed from an element produced from an XQuery expression.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ODE-519
> URL: https://issues.apache.org/jira/browse/ODE-519
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 2.0
> Environment: ServiceMix
> Reporter: Mark Ford
> Assignee: Karthick Sankarachary
> Priority: Critical
> Fix For: 1.3.1
>
>
> The following element was constructed by an XQuery expression:
> <sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <wsa:EndpointReference xmlns:pp="http://some-namespace" xmlns:wsa="http://www.w3.org/2005/08/addressing">
> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
> <wsa:Metadata>
> <Service EndpointName="MyEndpoint">pp:SomeProxy</Service>
> </wsa:Metadata>
> </wsa:EndpointReference>
> </sref:service-ref>
> However, when the value is set on the partner link, it appears to have lost its namespace declarations and attributes.
> <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
> <Metadata>
> <Service>pp:SomeProxy</Service>
> </Metadata>
> </EndpointReference>
> </service-ref>
> - Notice that //Service/@EndpointName is now missing
> - Notice that xmlns:pp="http://some-namespace" is now missing
> This appears to be coming from DOMUtils.cloneNode(Document,Node). The code there does not consider the attributes or namespace declarations for the an element being cloned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ODE-519) Attributes and namespace declarations
are being removed from an element produced from an XQuery expression.
Posted by "Karthick Sankarachary (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthick Sankarachary resolved ODE-519.
---------------------------------------
Resolution: Fixed
My bad... I kind of glossed over the regular attributes the first time around. Well, its never too late to fix that (please see revision 748682).
> Attributes and namespace declarations are being removed from an element produced from an XQuery expression.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ODE-519
> URL: https://issues.apache.org/jira/browse/ODE-519
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 2.0
> Environment: ServiceMix
> Reporter: Mark Ford
> Assignee: Karthick Sankarachary
> Priority: Critical
> Fix For: 1.3
>
>
> The following element was constructed by an XQuery expression:
> <sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <wsa:EndpointReference xmlns:pp="http://some-namespace" xmlns:wsa="http://www.w3.org/2005/08/addressing">
> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
> <wsa:Metadata>
> <Service EndpointName="MyEndpoint">pp:SomeProxy</Service>
> </wsa:Metadata>
> </wsa:EndpointReference>
> </sref:service-ref>
> However, when the value is set on the partner link, it appears to have lost its namespace declarations and attributes.
> <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
> <Metadata>
> <Service>pp:SomeProxy</Service>
> </Metadata>
> </EndpointReference>
> </service-ref>
> - Notice that //Service/@EndpointName is now missing
> - Notice that xmlns:pp="http://some-namespace" is now missing
> This appears to be coming from DOMUtils.cloneNode(Document,Node). The code there does not consider the attributes or namespace declarations for the an element being cloned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (ODE-519) Attributes and namespace declarations
are being removed from an element produced from an XQuery expression.
Posted by "Karthick Sankarachary (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthick Sankarachary resolved ODE-519.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.3
This issue has been resolved through revision 745715.
> Attributes and namespace declarations are being removed from an element produced from an XQuery expression.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ODE-519
> URL: https://issues.apache.org/jira/browse/ODE-519
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 2.0
> Environment: ServiceMix
> Reporter: Mark Ford
> Assignee: Karthick Sankarachary
> Priority: Critical
> Fix For: 1.3
>
>
> The following element was constructed by an XQuery expression:
> <sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <wsa:EndpointReference xmlns:pp="http://some-namespace" xmlns:wsa="http://www.w3.org/2005/08/addressing">
> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
> <wsa:Metadata>
> <Service EndpointName="MyEndpoint">pp:SomeProxy</Service>
> </wsa:Metadata>
> </wsa:EndpointReference>
> </sref:service-ref>
> However, when the value is set on the partner link, it appears to have lost its namespace declarations and attributes.
> <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
> <Metadata>
> <Service>pp:SomeProxy</Service>
> </Metadata>
> </EndpointReference>
> </service-ref>
> - Notice that //Service/@EndpointName is now missing
> - Notice that xmlns:pp="http://some-namespace" is now missing
> This appears to be coming from DOMUtils.cloneNode(Document,Node). The code there does not consider the attributes or namespace declarations for the an element being cloned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (ODE-519) Attributes and namespace declarations
are being removed from an element produced from an XQuery expression.
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ODE-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert reassigned ODE-519:
---------------------------------
Assignee: Karthick Sankarachary
> Attributes and namespace declarations are being removed from an element produced from an XQuery expression.
> -----------------------------------------------------------------------------------------------------------
>
> Key: ODE-519
> URL: https://issues.apache.org/jira/browse/ODE-519
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 2.0
> Environment: ServiceMix
> Reporter: Mark Ford
> Assignee: Karthick Sankarachary
> Priority: Critical
>
> The following element was constructed by an XQuery expression:
> <sref:service-ref xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <wsa:EndpointReference xmlns:pp="http://some-namespace" xmlns:wsa="http://www.w3.org/2005/08/addressing">
> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
> <wsa:Metadata>
> <Service EndpointName="MyEndpoint">pp:SomeProxy</Service>
> </wsa:Metadata>
> </wsa:EndpointReference>
> </sref:service-ref>
> However, when the value is set on the partner link, it appears to have lost its namespace declarations and attributes.
> <service-ref xmlns="http://docs.oasis-open.org/wsbpel/2.0/serviceref">
> <EndpointReference xmlns="http://www.w3.org/2005/08/addressing">
> <Address>http://www.w3.org/2005/08/addressing/anonymous</Address>
> <Metadata>
> <Service>pp:SomeProxy</Service>
> </Metadata>
> </EndpointReference>
> </service-ref>
> - Notice that //Service/@EndpointName is now missing
> - Notice that xmlns:pp="http://some-namespace" is now missing
> This appears to be coming from DOMUtils.cloneNode(Document,Node). The code there does not consider the attributes or namespace declarations for the an element being cloned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.