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

  • SEARCH
  • Home
  • 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 6817685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:05:09+00:00 2026-05-26T21:05:09+00:00

I am getting this error in my xml file: XML Parsing error: Extra content

  • 0

I am getting this error in my xml file: XML Parsing error: Extra content at the end of the document

I am using Notepad++ and it shows the second word in red in the header tags <ABC BLAH>hello</ABC BLAH> – it shows the BLAH in red. Because of this, I assume the problem is in the whitespace in the header tags and throws a validation error at that line. How do I resolve this?

This is the xml file:

<?xml version="1.0" encoding="UTF-8"?>
<rows>
    <row>
        <Order>1</Order>
        <Requirements>ABC</Requirements>
        <Testing Procedures>blah blah </Testing Procedures> 
        <Assessment Observations / Comments>blah blah</Assessment Observations / Comments> <-- throws Parsing error at this line.
    </row>
</rows>
  • 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-05-26T21:05:09+00:00Added an answer on May 26, 2026 at 9:05 pm
    <Testing Procedures="">blah blah </Testing Procedures>
    

    Can’t have spaces in element names.

    <Assessment Observations="" / Comments>blah blah</Assessment Observations / Comments>
    

    Also this has multiple errors. Maybe you meant this ? :

    <?xml version="1.0" encoding="UTF-8"?>
    <rows>
      <row>
        <Order>1</Order>
        <Requirements>ABC</Requirements>
        <TestingProcedures foo=" ">blah blah </TestingProcedures>
        <Assessment Observations="/ Comments>blah blah"/>
        <Assessment Observations=" / Comments"/>
      </row>
    </rows>
    

    You have multiple errors. Can’t really tell what you are trying to do.

    OK .xml 101:

    XML doesn’t permit spaces in element names.

    If you don’t close the element name you can specify attributes like this.

    <foo bar="I am an attribute" lol="Me too"> Here you can specify text, or other elements </foo>
    

    In addition if an element doesn’t contain another one , or a text you can use the shorthand notation

    <foo attribute="bar"/>
    

    I suggest you read some basic tutorial for this.

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

Sidebar

Related Questions

I am getting this error when parsing an incorrectly-generated XML document: org.xml.sax.SAXParseException: The value
I'm getting a strange error with rapidxml when parsing a xml file like <?xml
I am doing this tutorial but with a diferent xml http://blog.insicdesigns.com/2009/03/parsing-xml-file-using-codeigniters-simplexml-library/ , but I
Anyone getting this error when using the new free chart controls MS bought from
I am getting information from a large xml file and I am using python
I am parsing xml file by using libxml2.0, the code is below here. I
i am trying to read the xml file but somehow i am getting this
Getting this error: 2009-09-03 12:44:02.307 xcodebuild[307:10b] warning: compiler 'com.apple.compilers.llvm.clang.1_0.analyzer' is based on missing compiler
Getting this error with jquery & jquery.form. Site has been live for awhile..upgraded to
I´m getting this error while trying to commit to a svn repository: svn: MKACTIVITY

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.