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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:41:30+00:00 2026-06-10T12:41:30+00:00

I generated this xml file by marshalling it and then i want to unmarshall

  • 0

I generated this xml file by marshalling it and then i want to unmarshall it by validating it to its schema. Why is this xml :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ProjectConfiguration xmlns="http://ereg.egov.bg/segment/0009-900001">
    <CreationTime>2012-08-30T15:32:06.712+03:00</CreationTime>
    <Applications>
        <Application>
            <Version>1.0</Version>
            <CreationTime>2012-08-30T15:32:06.712+03:00</CreationTime>
            <FileName>ROSAppl-37</FileName>
        </Application>
    </Applications>
</ProjectConfiguration>

not a valid xml agains this schema:

<?xml version="1.0"?>
<xsd:schema 
targetNamespace="http://www.bulsi.bg/egov/ProjectConfiguration"
xmlns="http://www.bulsi.bg/egov/ProjectConfiguration"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>

<xsd:element name="ProjectConfiguration" type="ProjectConfigurationType" />

<xsd:complexType name="ProjectConfigurationType">
    <xsd:annotation>
        <xsd:documentation xml:lang="bg">Конфигурация на проекта</xsd:documentation>
    </xsd:annotation>

    <xsd:sequence>  
        <xsd:element name="CreationTime" type="xsd:dateTime">
            <xsd:annotation>
                <xsd:documentation xml:lang="bg">Време на създаване</xsd:documentation>
            </xsd:annotation>
        </xsd:element>

        <xsd:element name="Applications" minOccurs="1" maxOccurs="1">
            <xsd:annotation>
                <xsd:documentation xml:lang="bg">Заявления</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="Application" type="ApplicationType" minOccurs="1" maxOccurs="unbounded" />
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>                      
    </xsd:sequence>
</xsd:complexType>

<xsd:complexType name="ApplicationType" >
    <xsd:annotation>
        <xsd:documentation xml:lang="bg">Данни за заявление за вписване</xsd:documentation>
    </xsd:annotation>

    <xsd:sequence>
        <xsd:element name="Version" type="xsd:string">
            <xsd:annotation>
                <xsd:documentation xml:lang="bg">Версия на заявлението</xsd:documentation>
            </xsd:annotation>
        </xsd:element>

        <xsd:element name="CreationTime" type="xsd:dateTime">
            <xsd:annotation>
                <xsd:documentation xml:lang="bg">Време на създаване</xsd:documentation>
            </xsd:annotation>
        </xsd:element>

        <xsd:element name="FileName" type="xsd:string">
            <xsd:annotation>
                <xsd:documentation xml:lang="bg">Име на файл, в който е заявлението. Връзка между конфигурационни параметри и заявлението като файл</xsd:documentation>
            </xsd:annotation>
        </xsd:element>  
    </xsd:sequence>
</xsd:complexType>

</xsd:schema>

This is the error : Cvc-elt.1.a: Cannot Find The Declaration Of Element ‘ProjectConfiguration’.. Line ‘2’, Column ’71’.

  • 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-10T12:41:32+00:00Added an answer on June 10, 2026 at 12:41 pm
    • Your Xml instance: xmlns="http://ereg.egov.bg/segment/0009-900001"
    • Your Xml schema: targetNamespace="http://www.bulsi.bg/egov/ProjectConfiguration"

    These URIs should match.

    Otherwise, the <ProjectConfiguration> element from your Xml document will be assumed to belong to the http://ereg.egov.bg/segment/0009-900001 namespace, which is not defined in your schema.

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

Sidebar

Related Questions

I have generated this WSDL file... <?xml version=1.0 encoding=UTF-8 standalone=yes?> <!-- Generated by JAX-WS
I have this main.xml file: <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=@drawable/background
I have an XML file generated using javax.sql.rowset.WebRowSet.writeXml which looks like: <metadata> This section
I've got an XML file automatically generated, which I want to display in HTML.
I want to load a xml file using Jquery . The xml is generated
I have an xml file generated dynamically through a php code section.I need this
I want to make an XPath query on this XML file (excerpt shown): <?xml
I am trying to create a dynamically generated XML file from Java. This is
I have a XML file that looks like this <Licence> <Name>Test company</Name> <Version>1.1.1.1</Version> <NumberOfServer>2</NumberOfServer>
I am creating an xml file on the fly. When a user generates this

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.