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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:23:21+00:00 2026-05-11T12:23:21+00:00

Is it legal to use no targetNamespace attribute or an empty one in an

  • 0

Is it legal to use no targetNamespace attribute or an empty one in an Xml schema?

If so then what does it mean, are we ‘adding’ something to the ’empty namespace’ (which always exists) or creating an ‘anonymous namespace’ which is not related to other schemas?

How would an instance xml document look like, do elements need to be explicitly bounded to some namespace?

  • 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. 2026-05-11T12:23:21+00:00Added an answer on May 11, 2026 at 12:23 pm

    See XML Schema Part 0: Primer for a very concise description of how undeclared targetNamespaces work.

    As for an empty targetNamespace, that’s not valid. From the spec:

    Since the empty string is not a legal namespace name, supplying an empty string for targetNamespace is incoherent, and is not the same as not specifying it at all. The appropriate form of schema document corresponding to a ·schema· whose components have no {target namespace} is one which has no targetNamespace attribute specified at all.

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

Sidebar

Related Questions

Which HTML tags can use the class attribute? (In which standards — e.g. HTML/XHTML/HTML5
Would this be a legal use of creating an object on a global namespace?
Does anyone have a Regular Expression to validate legal FQDN? Now, I use on
One of the legal modifiers you can use with method local inner classes is
A friend recently had the occasion for a legal name change, which made me
I would like to know if it is legal to use external article on
I have a form that Legal will use to track trademark claims. They want
Is it legal to use a metatable (or a string) as an index to
is it legal to use GNU-Code in a software project developed from a company
It is Legal to use this code: <img src=...(here image).... width=50px height=50px /> Or

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.