hello all, i have an *elementary* question about character encoding with respect to a specific marshalling method in the jibx api.
the interface IMarshallingContext defines these two versions of the marshalDocument() method: ---- public void marshalDocument(Object root, String enc, Boolean alone, OutputStream outs) throws JiBXException ---- public void marshalDocument(Object root, String enc, Boolean alone, Writer outw) throws JiBXException ---- i understand the first, where the desired character encoding is specified in the second argument. however, the second method seems to me ambiguous, because both the second argument and the fourth argument imply a specific encoding. can't this possibly lead to the production of an xml document where the specified encoding in the xml declaration is at odds with the actual character encoding of the stream, as specified by the writer? thanks, eitan Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users