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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:19:16+00:00 2026-05-29T07:19:16+00:00

Every time I try to validate the below xsd file using XMLSpy 2012, I

  • 0

Every time I try to validate the below xsd file using XMLSpy 2012, I get the following error:

‘Credentials’ must refer to an existing type.

I’m sure it’s something stupid I’m doing but I just don’t see it.

Thanks.

                <?xml version="1.0" encoding="UTF-8"?>
                <!--W3C Schema generated by XMLSpy v2011 rel. 2 (x64) (http://www.altova.com)-->
                <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:qvd="http://www.MyCompany.com/qvd" targetNamespace="http://www.MyCompany.com/qvd" elementFormDefault="qualified" attributeFormDefault="unqualified">
                    <annotation>
                        <documentation>
                QueryViewer Defaults config file schema
                Copyright 2012 MyCompany. All rights reserved.
                </documentation>
                    </annotation>
                    <element name="QueryViewerDefaults">
                        <complexType>
                            <sequence>
                                <element name="CompanyName" type="string"/>
                                <element name="QueryPath" type="string"/>
                                <element name="Credentials" type="Credentials"/>
                            </sequence>
                            <attribute name="created" use="required" type="dateTime"/>
                            <attribute name="modified" use="required" type="dateTime"/>
                            <attribute name="fileversion" use="required" type="string"/>
                        </complexType>
                    </element>
                    <complexType name="Credentials">
                        <sequence>
                            <element name="Server" type="string"/>
                            <element name="Database" type="string"/>
                            <element name="UserID" type="string"/>
                            <element name="Password" type="string"/>
                            <element name="IntegratedSecurity" type="boolean" default="false"/>
                        </sequence>
                        <attribute name="encrypted" type="boolean" use="optional" default="false"/>
                    </complexType>
                </schema>
  • 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-29T07:19:16+00:00Added an answer on May 29, 2026 at 7:19 am

    That is because Credentials belongs to http://www.MyCompany.com/qvd namespace as that is what you defined as the targetNamespace in your xsd. So change the below

    <element name="Credentials" type="Credentials"/>
    

    to

    <element name="Credentials" type="qvd:Credentials"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

every time i try using jquery dialog i get error null when debugging using
Every time I try to run my script I get this error, saying that
Every time I try to use Export, I get this Error: General::unavail: Export is
Every time I try to compile my code I get error: cannot convert parameter
I am getting a conversion error every time I try to submit a date
I'm using VS2008 (with windows XP). Every time I try to run a unit
I get an exception every time I try to create a container for the
Regular Expressions kick my pants every time I try to use them. I'm using
I'm getting the error below, every once in a while, when I try to
Every time I try to display the category I get the name Array instead

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.