You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by TomazM <to...@arnes.si> on 2010/04/22 13:16:40 UTC

axis2 error marshall doc 0x1a

Have any idea of this cind of problem:

Caused by: org.jibx.runtime.JiBXException: Error writing marshalled document
        at org.jibx.runtime.impl.MarshallingContext.element(MarshallingContext.java:734)
        at si.arnes.aris.bean.Uporabniki.JiBX_binding_marshal_1_6(Uporabniki.java)
        at si.arnes.ozwizardlu.soap.transfer.UserData.JiBX_binding_marshal_1_0(UserData.java)
        at si.arnes.ozwizardlu.soap.transfer.UserInfo.JiBX_binding_marshal_1_0(UserInfo.java)
        at si.arnes.ozwizardlu.soap.transfer.JiBX_bindingUserInfo_access2.marshal()
        at org.apache.axis2.jibx.JiBXDataSource.marshal(JiBXDataSource.java:194)
        at org.apache.axis2.jibx.JiBXDataSource.serialize(JiBXDataSource.java:213)
        ... 61 more
Caused by: java.io.IOException: Illegal character code 0x1a in content text
        at org.jibx.runtime.impl.UTF8StreamWriter.writeTextContent(UTF8StreamWriter.java:261)
        at org.jibx.runtime.impl.MarshallingContext.element(MarshallingContext.java:729)
        ... 67 more


Regards, tomaz

Re: axis2 error marshall doc 0x1a

Posted by Andreas Veithen <an...@gmail.com>.
In an XML document, 0x1a is forbidden as a character in character data
[1], as well as a character reference [2]. JiBX seems to enforce this
requirement in a strict way.

Andreas

[1] http://www.w3.org/TR/REC-xml/#NT-Char
[2] http://www.w3.org/TR/REC-xml/#NT-CharRef

On Thu, Apr 22, 2010 at 13:16, TomazM <to...@arnes.si> wrote:
> Have any idea of this cind of problem:
>
> Caused by: org.jibx.runtime.JiBXException: Error writing marshalled document
>        at org.jibx.runtime.impl.MarshallingContext.element(MarshallingContext.java:734)
>        at si.arnes.aris.bean.Uporabniki.JiBX_binding_marshal_1_6(Uporabniki.java)
>        at si.arnes.ozwizardlu.soap.transfer.UserData.JiBX_binding_marshal_1_0(UserData.java)
>        at si.arnes.ozwizardlu.soap.transfer.UserInfo.JiBX_binding_marshal_1_0(UserInfo.java)
>        at si.arnes.ozwizardlu.soap.transfer.JiBX_bindingUserInfo_access2.marshal()
>        at org.apache.axis2.jibx.JiBXDataSource.marshal(JiBXDataSource.java:194)
>        at org.apache.axis2.jibx.JiBXDataSource.serialize(JiBXDataSource.java:213)
>        ... 61 more
> Caused by: java.io.IOException: Illegal character code 0x1a in content text
>        at org.jibx.runtime.impl.UTF8StreamWriter.writeTextContent(UTF8StreamWriter.java:261)
>        at org.jibx.runtime.impl.MarshallingContext.element(MarshallingContext.java:729)
>        ... 67 more
>
>
> Regards, tomaz
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org