BizTalk Server General - Encoding problem (?)

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > January 2005 > Encoding problem (?)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Encoding problem (?)
Asbjørn Rygg

2005-01-30, 7:49 am

I have an orchestration that dumps a file to a folder for a Java program
to parse the XML output. The problem is that the Java program is failing
to read the XML from the file outputted by BizTalk - it does not
recognize the root node. If I open the file and save it in notepad
without changing any text, the file is parsed correctly by the java
program. Seems like there is an issue with how BizTalk is outputting the
file but I`m not really shure what to look for here.

Anyone else encountered this problem? And solved it?

- Asbjørn
Asbjørn Rygg

2005-01-31, 2:54 am

This issue got solved after i rebooted my brain..
The issue was of course related to a utf-8 byte order mark in the file
outputted by BizTalk. There was an issue with Suns SAX parser in JRE 1.4
and BOMs witch was solved in 1.5. So I updated my JRE to 1.5 - case closed.

Cheers,
Asbjørn

Asbjørn Rygg wrote:
> I have an orchestration that dumps a file to a folder for a Java program
> to parse the XML output. The problem is that the Java program is failing
> to read the XML from the file outputted by BizTalk - it does not
> recognize the root node. If I open the file and save it in notepad
> without changing any text, the file is parsed correctly by the java
> program. Seems like there is an issue with how BizTalk is outputting the
> file but I`m not really shure what to look for here.
>
> Anyone else encountered this problem? And solved it?
>
> - Asbjørn

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com