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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:10:34+00:00 2026-05-13T22:10:34+00:00

I was wondering if mixing referecened and inline types is allowed in XSD, e.g.:

  • 0

I was wondering if mixing “referecened” and “inline” types is allowed in XSD, e.g.:

<schema>
  <element name="library" type="departments">
    <complexType>
      <sequence>
        <element name="department_name" type="string"/>
      </sequence>
    </complexType>
  </element>
  <complexType name="departements">
    <sequence>
      <element name="department_name" type="string"/>
    </sequence>
  </complexType>
</schema>

If yes, how do I we distinguish between departement_names? Do one of them take precedence over the other? TIA!

  • 1 1 Answer
  • 1 View
  • 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-13T22:10:35+00:00Added an answer on May 13, 2026 at 10:10 pm

    When you run this XSD file over XML with validation, you will get an error, as your declaration conflicts with 3.3.3 Constraints on XML Representations of Element Declarations, point 3.

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

Sidebar

Related Questions

Coming from Java, I'm wondering if a Java best practice applies to JavaScript. In
Wondering if there's any accepted practice for approximating C++'s 'const methods' in Objective-C. (new
Wondering what would be a good method to get the first iteration on a
Wondering if this is even possible or a limitation of PHP, googling around seems
wondering if anyone can help me. I've been searching for a few days for
Wondering if its' possible to have solution within solution in vs 2010? How? thanks
Wondering if anyone has a solution to this 2010 bug. I have a project
Wondering what the differences between REST and JSON APIs are, how you interface with
Instead of starting to code in Matlab, I recently started learning R, mainly because
I have a timer for my game, but the message will keep going on

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.