Windows 10: Problem when opening xml file


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

    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

    You could try running it through an XML validator (just search for options).
      My ComputerSystem Spec


  3. Posts : 4,475
    Win10 Home and Pro, Win10 Insider Preview, Win7 Home, Linux Mint
       28 Jul 2017 #3

    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

    It's a txt file so you can open with notepad or simliar
      My ComputerSystem Spec


  5. Posts : 5
    Windows 10 Pro 64-bit Multiprocessor
    Thread Starter
       02 Aug 2017 #5

    Move top of queue in hope someone else may be able to suggest solution.
      My ComputerSystem Spec

  6.    02 Aug 2017 #6

    That's not allowed under forum rules, sorry.
      My ComputerSystem Spec


  7. Posts : 5
    Windows 10 Pro 64-bit Multiprocessor
    Thread Starter
       02 Aug 2017 #7

    dalchina - Why is it "not allowed" and where is the forum rule stating this?
      My ComputerSystem Spec

  •   My ComputerSystem Spec


  •  

    Related Threads
    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...
    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...
    problem opening folders in General Support
    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?
    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...
    Problem opening notepad.exe in Software and Apps
    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...
    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 12:24.
    Find Us