EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElXMLDOMDocument .NET odd behaviour with LoadFromFile (Java works)

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#30690
Posted: 09/11/2014 10:34:29
by Vangelder Guillaume (Basic support level)
Joined: 09/11/2014
Posts: 1

Hi,

Trying to load this XML file in the .NET implementation behaves strangely:

Code
<t:test xmlns:t="http://mynamespace">Hi</t:test>


A simple LoadFromFile and immediate SaveToFile:

Code
TElXMLDOMDocument xmlDoc = new TElXMLDOMDocument();
xmlDoc.LoadFromFile("test.xml");
xmlDoc.SaveToFile("test.copy.xml");


produces this result, which is strange looking to say the least:

Code
<t: xmlns="http://mynamespace">Hi</t:>


In Java, doing the same thing I get the expected result:

Code
<t:test xmlns:t="http://mynamespace">Hi</t:test>


I tried LoadFromStream with the same results. Another machine yielded the same results as well.

The sample programs (Signer in XMLBlackbox) bundled with the latest SecureBlackBox download also behaved the same way when I tried to load the same XML (.NET fails, Java works).

Any ideas?
#30691
Posted: 09/11/2014 12:30:35
by Ken Ivanov (EldoS Corp.)

Hi Vangelder,

Thank you for contacting us.

The problem occurs due to a build issue in build 259. We are working hard on resolving the problem and will do our best to release the fix within two working days. Sorry for that.

I've created a Helpdesk ticket for you, let's try to find a quicker way for you to bypass the issue.

Ken

Reply

Statistics

Topic viewed 383 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!