on 04-19-2009 4:19 PM
Hi All
I have a requirement here when an XML message is being parsed. Due to some additional enhancement for output XML I went to write a java custom code via java mapping to add new tags to existing XML. However, as XML message consists of non ascii chars, when entire xml doc read as string, java internal conversions are happening from non ascii to ascii.. this results as some new char(non- ascii) apprearing in target XML. Can any one help me how can I make sure non ascii chars will pass as it is...
Source of XML looks like
.i.e., no conversion should happen.
Thanks
Edited by: Yadagiri chinna on Apr 19, 2009 5:19 PM
Hi,
there is an Interface DOMConfiguration in org.w3c.dom package,that interface has a list of parameters defined in the DOM: using one of the parameter u can avoid the error ur getting.
Details of that Interface is given here
[http://java.sun.com/j2se/1.5.0/docs/api/]
Thanks and regards,
Kubra Fatima.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use ISO-8559-1 encoding in you file adapter.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.