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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:41:38+00:00 2026-06-11T10:41:38+00:00

Please explain in naive terms. What does it actually mean by XML Validation? Do

  • 0

Please explain in naive terms.

What does it actually mean by XML Validation?

Do “validation of XML data”, “validation of XML document” and “validation of XML schema” mean same thing?

How XSD documents help in validating an XML Document/Data/Schema?

NOTE: There are lots of articles available about XML Validation. But, those are convoluted. Discussions use jargons and consequently incomprehensible.

  • 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-11T10:41:40+00:00Added an answer on June 11, 2026 at 10:41 am

    Maybe this simple explanation helps:

    There are different levels of “correctness” for an XML document.

    First comes well-formedness. A document is well-formed if it conforms to the syntactic rules laid out for XML files, e. g. tags are correctly nested and closed, naming rules are followed etc.

    An XML document can be checked for well-formedness purely based on the XML standard(s). You don’t need to know anything about the data contained in the XML document and its structure.

    This is where validation comes in:

    A DTD (document type definition) or XSD specifies the rules how to build a certain type of XML document, for example which tags are allowed in which context, which attributes and values are possible for each tag, and whether cross-references between tags are handled correctly.

    For example, if you define a tag as an ID field, its value may only be present once in the XML file.


    Compare this to a programming language:

    In Python, the following would be a SyntaxError:

    f("Hello)        # not "well-formed"
    

    The following is syntactically correct but still fails because the function is used incorrectly:

    def f(a):
        return a+1
    
    f("Hello")       # "well-formed" but invalid (TypeError)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please explain to me how this JavaScript row works: <a href=javascript: onclick=document.location='AddItem.aspx?catid=<%# Eval(CollectionID)%>'>[edit items]</a>
Please explain an Android Service . How does it differ from an Activity ?
Can someone please explain what does the following line of code exactly do? If
Please Explain with example ItemCommand and ItemDatabound of a Data Representation Control.
Please explain working in each case. Why both cases have same output? Case I:
Please explain what is meant by tuples in sql?Thanks..
Please explain what is name mangling, how it works, what problem it solves, and
Please explain what this task is about? Create a generic linked list class that
Please explain impersonation for non-technical users.Then please explain it in the context of ASP.NET.
Please explain the SQL query given below. I m new with SQL and struggling

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.