I believe is an issue which we need to fix. Please log a JIRA in Apache
Neethi project.

Thanks,
--Sanka

On Tue, Mar 25, 2008 at 9:55 PM, Detelin Yordanov <[EMAIL PROTECTED]>
wrote:

> Hello,
>   I'm having troubles regarding PolicyReference.serialize(..) not writing
> the "wsp" namespace declaration to the underlying writer.
> I see that the Policy.serialize(..) is doing it, is there any reason why
> this is removed from the PolicyReference.serialize(..)?
>
> The problem I have is that in Axis2, the provided XMLStreamWriter is not a
> namespace repairing one, therefore the namespace is not automatically
> written and the output is simply <wsp:PolicyReference URI=".."/>.  When
> Axiom is parsing this XML back to an OMElement it fails
> with an "Undeclared namespace prefix 'wsp'" error.
>
> I have described the details of problem at the Axis user list (
> http://marc.info/?l=axis-user&m=120637288401006&w=2),
> but now I realize that Axis does not have much to do with it.
>
> Thanks in advance for any help.
>
> Kind Regards,
>    Detelin
>



-- 
Sanka Samaranayake
WSO2 Inc.

http://sankas.blogspot.com/
http://www.wso2.org/

Reply via email to