Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7923959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:30:12+00:00 2026-06-03T17:30:12+00:00

While loading XML file in a C# application, I am getting Name cannot begin

  • 0

While loading XML file in a C# application, I am getting

Name cannot begin with the ‘1’ character, hexadecimal value 0x31.
Line 2, position 2.

The XML tag begins like this.

<version="1.0" encoding="us-ascii" standalone="yes" />
<1212041205115912>

I am not supposed to change this tag at any cost.

How can I resolve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T17:30:16+00:00Added an answer on June 3, 2026 at 5:30 pm

    IF you absolutely cant change it, eg. for some reason the format is already out in the wild and used by other systems/customers/whatever.

    Since it is an invalid xml document, try to clean it up before parsing it.
    eg. make a regex that replaces all < number> tags with < IMessedUp>number< /IMessedUp> and then parse it.

    Sort of iffy way to do it, but I will solve your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While loading an XML file in SSIS using an XML source component , i
I'm loading an XML in SQL using OpenXML while declaring the variable the max
while loading getfptex(got it from CTAN) batch file ,when i'm extracting this batch file
I'm working on a Silverlight application that works with WCF services. While loading the
I'm having an error while loading an mp3 player, here is what I getting
Iam using sax parser to parse the xml file of 3.8 mb. Its loading
I'm getting some weird results while parsing some XML in JavaScript. I have the
I'm loading an XML file with this method: public static String readTextFile(String fullPathFilename) throws
I have a problem while reading from XML file in action script 3. This
Does anyone here know how to integrate a progress bar while loading an xml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.