Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. Invalid character error in XML file

Invalid character error in XML file

Scheduled Pinned Locked Moved XML / XSL
helphtmlxml
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sandeep Shetty
    wrote on last edited by
    #1

    Hello!! I have created an XML document programmatically using DOM and MSXML4. As one of the data items I have added byte data which is actually a processed guid. Now combination of characters generated as GUID and stored as byte format in the xml document, is shown properly. But for some combination when I open the document it says "An invalid character was found in text content" and the document fails to display any data. This happens in Windows 2000 and I have seen this once or twice in Windows 2003. The "corrupt" file opens without any problem in Windows XP. I am using encoding UTF-16. IE Versions I am using are: In Windows 2000 6.0.2800.1106 – SP1 In WinXP 6.0.2900.2180 – SP2 Can someone help!!! Sandeep

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups