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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:02:14+00:00 2026-05-23T08:02:14+00:00

Does maxOccurs limit the number of language versions? What I mean is – does

  • 0

Does maxOccurs limit the number of language versions?

What I mean is – does

<xs:element ref="attachments" minOccurs="0" **maxOccurs="1"**/>

(in XML schema), forbid:

<attachments>
   <audio>
      <sound url="http://bla.com/eng.mp3" xml:lang="eng"/>
      <sound url="http://bla.com/ger.mp3" xml:lang="ger"/>
   </audio>
[...]

And by the way, there’s also “video” and “documents” sections (apart from “audio”), so I’m not sure how this schema (a real life example, not made up!) is actually supposed to work?

Just one attachment of each type? But multiple language versions OK?

  • 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-23T08:02:15+00:00Added an answer on May 23, 2026 at 8:02 am

    It means that there will be at most one <attachments> element (could be less because of the minOccurs="0") at that particular point in the document. It does not constrain the content of the element; that would be done inside the definition of that element (or in its type).

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

Sidebar

Related Questions

I have problem with XML schema. I need inside one element elements of three
If you have an XML schema which dictates an element has a default value,
Does anybody know what i mean? In fullscreen mode of the new camera app
I'm trying to implement a very simple XML schema constraint. The idref attribute on
I have the following XML: <customer> <name>John Paul</name> <cpf_cnpj>1376736333334</cpf_cnpj> </customer> The <cpf_cnpj> element must
I am trying to create an XML schema in which a lot of types
I have this schema and i'm using JAXB to generate java stub files. <?xml
I'm trying to create an xml-schema (xsd) to validate an xmlfile. <a> <b> <c>...</c>
I am writing an XML Schema for a database format for chess games. The
does the function set::insert saves a pointer to the element or a copy of

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.