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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:16:58+00:00 2026-06-03T04:16:58+00:00

In a complex project, I have many XML files like data files, config files

  • 0

In a complex project, I have many XML files like data files, config files etc. They all are similar but have different content (some are data files, some config files etc) and of course have slightly different structure (such as root node) but some “core” elements are the same.

However, some children elements of a specific element should not be allowed in one file but in the other.

Is it a good practice to create separate XSD schemes for each file or a single XSD for the whole project?

I think I should map one XSD to one namespace, correct?

In this case, is it better to have a single namespace (and XSD) such as

http://www.example.com/myproject/schema

or for each file:

http://www.example.com/myproject/schema/configfile1

http://www.example.com/myproject/schema/configfile2

http://www.example.com/myproject/schema/datafile3

http://www.example.com/myproject/schema/datafile4

Regards
divB

  • 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-03T04:16:59+00:00Added an answer on June 3, 2026 at 4:16 am

    I would go for separate XSD and namespaces for each data/config files if their structures are different – maybe with a common XSD that is included in the specific ones for the parts that are common to all XML files.

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

Sidebar

Related Questions

I have a large complex PHP project made up of many PHP files. Is
I have a complex MATLAB-Simulink project involving many m-files and mdl-files. Some m-files define
I have a complex project where there are many directories that have POM files,
in my Java project I have a lot of JasperReports reports with complex SQL
I have a very complex web app project I want to re-structure. Naturally, it
I had to break my too complex project, about 100files, to small files. A
i would like to have your opinion in a project i am currently working
Until now, I have worked primarily with LAMP applications, but have a project in
I have been working on one project which is too complex and contain very
Some complex subversion merges are coming up in my project: big branches that have

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.