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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:38:39+00:00 2026-06-13T11:38:39+00:00

<xs:element name=qualificationRequired type=ExtendedQualification/> <xs:complexType name=ExtendedQualification> <xs:complexContent> <xs:extension base=qualifications> <xs:element name=other> <xs:element name=skills type=xs:string/> <xs:element

  • 0
<xs:element name="qualificationRequired" type="ExtendedQualification"/>
    <xs:complexType name="ExtendedQualification">
        <xs:complexContent>
            <xs:extension base="qualifications">
                <xs:element name="other">
                    <xs:element name="skills" type="xs:string"/>
                    <xs:element name="languages" type="xs:string"/>
                </xs:element>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType> 
    </xs:sequence>
</xs:complexType> //closes another complexType above

My validator returns the following errors:

Validator Error: s4s-elt-must-match.1: The content of ‘sequence’ must
match (annotation?, (element | group | choice | sequence | any)*). A
problem was found starting at: complexType. LINE 2

Validator Error 2: src-resolve: Cannot resolve the name
‘ExtendedQualification’ to a(n) ‘type definition’ component. LINE 1

why is this happening?

  • 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-13T11:38:40+00:00Added an answer on June 13, 2026 at 11:38 am

    <xs:sequence> can not contain an <xs:complexType> as a child. You have to put it elsewhere. Either wrap it in an element, effectively making it a nested type, or put it directly in the <xs:schema> element as a global type.

    Just as the error message says, the only tags you can put inside an <xs:sequence> are:

    • <xs:element>
    • <xs:group>
    • <xs:choice>
    • <xs:sequence>
    • <xs:any>

    Also, <xs:extension> cannot have <xs:element> tags as children. You have to wrap them in an <xs:sequence>, <xs:choice>, <xs:all>, etc. depending on what you want to achieve.

    Finally, <xs:element> can’t contain other <xs:element> tags as children. You have to wrap them in a sequence/choice/all, etc. and then in <xs:complexType> to define a nested type. Or move it all outside to serve as a global type.

    Here’s a valid document defining what you’re trying to do above. I don’t have insight into the whole document though, so it might need adjustments depending on the context.

    <xs:schema version="1.0"
           xmlns:xs="http://www.w3.org/2001/XMLSchema"
           elementFormDefault="qualified">
    <xs:complexType name="blah">    <!-- You said there was a complexType open, I added its opening tag and gave it a placeholder name -->           
        <xs:sequence>               
            <xs:element name="qualificationRequired" type="ExtendedQualification"/>            
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ExtendedQualification"> <!-- the complexType is now removed from your sequence and is a global type-->
        <xs:complexContent>
            <xs:extension base="qualifications">
                <xs:sequence> <!-- you can't have an element here, you must wrap it in a sequence, choice, all, etc. I chose sequence as it seems to be what you meant -->
                    <xs:element name="other">
                        <xs:complexType> <!-- same here, an element can't contain other element tags as children. For a complex element, you need a complexType. I defined it as a nested type -->
                            <xs:sequence> <!-- even complexType can't have element tags as children, again, I used a sequenct -->
                                <xs:element name="skills" type="xs:string"/>
                                <xs:element name="languages" type="xs:string"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType> 
    </xs:schema>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<xs:element name =ID> <xs:complexType> <xs:simpleContent> <xs:attribute name=OFFSET type=U8 fixed=00/> </xs:complexType> </xs:simpleContent> However i want
How can I change XML-element name for field inherited from base class while doing
Is it OK to use hyphen - in an XML element name? e.g. <rank-type>Rank</rank-type>
I am not getting that how to differentiate same element name for eg City,Area
ASP.NET MVC 2 Dots Replaced With Underscore In Element Name (even though ASP.NET MVC
When I select an element by name in Javascript, I usually use this code:
I'm trying to select an select element by name I found this thread showing
I have a table in my database: Name | Element 1 2 1 3
I want to print the entire element including tag name, attribute name/value pairs and
I wish to just select and place border around .L1Cell element where attribute name

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.