My Pocket PC IE browser does not read XML files!!!!

Hi all,
When I uploaded an XML file from my PC to my Pocket PC and tried to open the file with the pocket pc IE explorer, it gives me a blank page, and doesn't show me the contents of the XML file, is there any known issue that I don't know regarding this problem?
Thanks in advance..
[294 byte] By [Medo] at [2008-1-31]
# 1
Unlike desktop IE the PIE doesn't support displaying arbitrary XML files.
ThomasWolframMVP at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 2
Hello,

this is a security setting in the registry.
If you set on the device the following registry entry:

[HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"Security_AccessCrossDomainData"=dword:00000001

the loading of local XML files will work in Pocket IE :-)

Regards, Jutta

jmk at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 3
Wow. I stand corrected. Nice hint. Thanks!
ThomasWolframMVP at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 4
Thanks alot jmk, that worked.....
Medo at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 5

However I told the man who bought my PPC about this issue and he confirmed positively about the above solution, so I had to mention jmk's solution is worked fine but my new PPC (Windows Mobile 2003 Second Edition version 4.21.1088) has the same problem and I tried to go through the registry but I did not even find where the registry editor is!! unlike the Desktop pc windows there is no regedit !! so where can I find the registry editor of Windows Mobile 2003.?

On the other hand, I found that KB article about blank XML document:

http://support.microsoft.com/kb/892072/

And that article was extremely useless !!! they mentioned the cause of the problem and did not mention the solution for that problem !!!

So I can't work with XML files, or even work with Datasets...

Thanks in advance..

Medo at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 6

You can work with XML files and DataSets in your application as nether are related to PIE at all.

IlyaTumanov at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 7

No, I can't work with XML file and datasets, when I tried to fill a Datagrid with a table in Dataset I got a blank grid exactly like the PIE issue, so the problem I think is not in the PIE itself but in parsing xml..

Is there any way to be sured that xml parser is exist or not?

Thanks again..

Medo at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 8

Again, NETCF's DataSet and XML support has no dependency on PIE and/or on MSXML parser, so correctly written application can use XML and DataSet regardless of PIE. In fact, it works even on custom CE devices without PIE or IE.

If you got blank grid, that means no data has been loaded which can be for number of reasons:

- XML file is missing or path is incorrectly specified - CE does not have drive letters and has no support for relative paths –please make sure you're using correct absolute paths.

- Schema does not match XML data - make sure your data and schema are in sync.

- Bindings incorrectly set or not set at all - check bindings.

And many other issues which are up to you to debug and resolve. It might be helpful to compile your application as desktop project and see if it works (but remember about path differences).

This sample should help you out:

http://samples.gotdotnet.com/quickstart/CompactFramework/doc/adonetdatabinding.aspx

As to MSXML, it's in ROM on every recent PPC.

IlyaTumanov at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 9
MEDO:where can I find the registry editor of Windows Mobile 2003

You need a 3rd party tool...

http://www.kilmist.com/ppcRegistryEditor.htm

Anarchy at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices General...