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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:35:52+00:00 2026-05-15T16:35:52+00:00

I know I have done this before, but it isn’t working today, nor can

  • 0

I know I have done this before, but it isn’t working today, nor can I find anywhere that explains how to do it. It could be my lack of sleep, but I suspect gremlins.

I have an XML document and a directory full of XSD’s that define it. How do I set the Visual IDE up to notify me of validation failures, and then provide an intellisense list of valid tags and attributes in a given context?

What I have tried:

  • I’ve added the XSD’s to the project with the XML document.
  • I’ve added the XSD’s to the XML Schema list (under XML / Schemas… menu item.)
  • I’ve even included the schemaLocation and noNamespaceSchemaLocation attributes to the XML document.

Visual Studio still isn’t giving up any useful debugging or editing information. I tried both 2010 and 2008 (I’ve done it before in 2008 I thought)

Update: I had another developer try this and it failed for him too. He knows he has done it with other XML documents and had it work. I then downloaded Oxygen XML editor and it worked fine on the same XML and XSD files, so the files seem to be fine (or Oxygen is more forgiving / flexible . . . )

  • 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-15T16:35:52+00:00Added an answer on May 15, 2026 at 4:35 pm

    You’ll need to associate the XML document in Visual Studio with the XSD file you have.

    1. You should see something like this in your Properties window of the XML document:

      XML Properties > Schema

    2. In the XML schema set editor (opens when you click on the (…) ellipsis in the “Schemas” textbox in your Properties window) you need to make sure you have your schema present. Also, make sure the Use column for that schema is enabled – if not, click on it – you’ll get a drop-down list of options, pick the Use one with the green checkmark:

      XML Schema Selector

    3. Make sure Visual Studio’s Error List windows is visible (menu View > Error List). This will show all inconsistencies between XML and XSD schema definitions.

    4. Once all of that is in place, the Visual Studio XML editor should highlight problems with your XML in the editor using blue squigglies:

      Example of Error

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

Sidebar

Related Questions

I know I have done this before but I am getting my constructor order
I know I've done something like this before, but I have no idea why
I know there have been a few threads on this before, but I have
I know all about threading applications, but haven't done this over web services before.
this question can create a misunderstanding: I know I have to use CSS to
I know I could have an attribute but that's more work than I want
I know that I have to use: rdtsc. The measured function is deterministic but
I don't know if I have all the information needed to phrase this question
I know I have already answered a similar question ( Running Batch File in
I know there have been questions in the past about SQL 2005 versus Lucene.NET

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.