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 7165149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:11:35+00:00 2026-05-28T14:11:35+00:00

I was going through corrections to get my pages to validate. I got it

  • 0

I was going through corrections to get my pages to validate. I got it down to one error left on the page. After correcting that error, the next run of the validator gave 29 errors, one for each entity on the page. For example   was now considered invalid. Here is one of the error messages:

Line 67, column 12: Entity ‘nbsp’ not defined.

<h1>&nbsp;<a href="search-by-keyword.php?usertype=pri">M ...

In addition one other error was the following:

Line 1, column 6: XML declaration allowed only at the start of the document

<?xml version="1.0" encoding="UTF-8"?>

But this is the only declaration.

So as a test, I reverted the final error correction. After doing that, the validator once again says that there is only one validation error in the file.

As a side note, I did find an posting on the web from 2007 seeming to report the same situation. See http://lists.w3.org/Archives/Public/www-validator/2007Jul/0140.html

What’s going on?

  • 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-28T14:11:35+00:00Added an answer on May 28, 2026 at 2:11 pm

    The solution to this issue was to remove a leading space that got in from of the tag, which is not allowed per the specification. In particular, the error message was exactly correct:

    Line 1, column 6: XML declaration allowed only at the start of the document
    

    By “start of the document” is meant “1st character of the document”, and no leading white-space is allowed.

    This removed the above error as well as the 28 other errors.

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

Sidebar

Related Questions

After going through the Appendix A, C# Coding Style Conventions of the great book
After going through the effort of finally purging distro ruby packages from my Ubuntu
After struggling for days attempting to get back collections that are linked to a
I'm beginning with backbone.js Going through some tutorials, like the one shown below. I
I know this question has been asked many times and after going through posts,
Going through some of my older Delphi projects and upgrading them to D2009, as
Going through Javascript documentation, I found the following two functions on a Javascript object
Going through the microsoft authentication tutorial listed here they have you create a master
Going through some documentation on modifying CGImageRef data, I came across a strange example
While going through university and from following the development of SO, I've heard a

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.