Posted: Thu Apr 27, 2006 4:30 pm Post subject: XML encoding
Centurion
Joined: 10 Oct 2002 Posts: 136 Location: California
Hi,
I am using a stylesheet to transform message from one XML format to other using XML transformation node. I have a requirement where output side does not want encoding in the XML declaration beacuse all data has CDATA section. So they want <?xml version="1.0" ?> instead of <?xml version="1.0" encoding "UTF-8"?> . The XSLT processor defaults the encoding to UTF-8. Is there any way we can suppress encoding using Stylesheet?
Joined: 10 Oct 2002 Posts: 136 Location: California
Yes I may be able to do that with compute node but I can't use compute node here. The messages can be more than 5Mb in size and we have seen compute node does not efficiently handle XML's greater than 4Mb. So is there any way to do that using stylesheet and XML transformation node.
Posted: Fri Apr 28, 2006 10:01 am Post subject: Convert XML encoding to UTF-16 using XML transformation node
Centurion
Joined: 10 Oct 2002 Posts: 136 Location: California
I just had a change in requirment. Now we need to send UTF-16 as the encoding on output side. When I try to do that using XML transformation node, I am getting error. The trace on XML transformation node shows sun.io.MalformedInputException: Missing byte-order mark error. I am not sure how broker is internally using Java for XMl transformation node. I am at level WBIMB 5.0 CSD 3. Does it support UTF-16 encoding for XML transformation node?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum