1.    28 Jul 2017 #1
    Join Date : Jul 2016
    Posts : 5
    Windows 10 Pro 64-bit Multiprocessor

    Problem when opening xml file


    I have a small program, which uses a number of xml files. The program is not working properly and I suspect that is due to a problem with one of the xml files. When I click on any except one of those files it opens in a MS Edge (the default Windows 10 browser) window and all the elements, sub-elements, data and closing tags can be seen and read. Clicking on the problem file opens it in Edge BUT only shows the Root element, followed by the first element (called Appointment) then a large (vertical) space then another Appointment first element. There are (correctly) 25 of these Appointment elements and NO closing tags for them OR the Root element. However, clicking on ANY of the first Appointment elements immediately causes all the missing lines to be displayed – i.e. various other elements and their data and closing tags and also the closing tag for the Root element.

    The file thus displayed is a perfectly normal xml file and it seems that there is something (possibly damage/corruption) that is prohibiting it from opening properly in the first place. Opening the xml file in Excel 2016 then saving as another name has no effect on its behaviour. Any thoughts please as to the cause and way to correct.
      My ComputerSystem Spec
  2.    28 Jul 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,017
    Win 10 Pro (1703)

    You could try running it through an XML validator (just search for options).
      My ComputerSystem Spec
  3.    28 Jul 2017 #3
    Join Date : Aug 2014
    Forever West
    Posts : 3,922
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint

    I have a small program, which uses a number of xml files
    It's always helpful to know exactly what program the problem exists in. I have a couple of programs that can work with .xml files.
      My ComputerSystem Spec
  4.    28 Jul 2017 #4
    Join Date : Jul 2016
    Crewe Cheshire
    Posts : 1,456
    windows 10

    It's a txt file so you can open with notepad or simliar
      My ComputerSystem Spec
  5.    02 Aug 2017 #5
    Join Date : Jul 2016
    Posts : 5
    Windows 10 Pro 64-bit Multiprocessor
    Thread Starter

    Move top of queue in hope someone else may be able to suggest solution.
      My ComputerSystem Spec
  6.    02 Aug 2017 #6
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,017
    Win 10 Pro (1703)

    That's not allowed under forum rules, sorry.
      My ComputerSystem Spec
  7.    02 Aug 2017 #7
    Join Date : Jul 2016
    Posts : 5
    Windows 10 Pro 64-bit Multiprocessor
    Thread Starter

    dalchina - Why is it "not allowed" and where is the forum rule stating this?
      My ComputerSystem Spec
  8.    02 Aug 2017 #8
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,017
    Win 10 Pro (1703)
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Disable 'Always Ask Before Opening This File'
When I'm about to install an .exe file I get a security warning with the heading, "Do you want to run this file" along with an option to, "Always ask before opening this file." I checked off that option and I disabled UAC. I don't want to see this...
General Support
Opening a JAR file in Windows 10?
Hi, hope I am posting this to the right forum section. I have this JAR file downloaded and of course, it needs Java in order to open it. In Windows 10, is there any way to find out if I have Java installed? Or, can Windows 10 open up JAR files...
General Support
problem opening folders
Hi guys i have a problem opening folders that are inside folders. When i try and open them the pc just crashes back to the desktop. Any help?
General Support
Reenable 'Always ask before opening this file'
How do I reenable back the 'Always ask before opening this file' security popup for a .js script file? It is normally executed by Microsoft Windows Based Script Host. While it is annoying for everytime I double-clicked it instead of...
General Support
Problem opening notepad.exe
I cannot open files with notepad. If I try to open notepad.exe directly C:\Windows\System32, I get this error (translated from french) : "Windows does not find notepad.exe. Verify that you entered the correct name and try again" Why is...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:31.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums