XML errors related to misusing of syntax or logic of the markup language. The error messages you usually get from IDEs or XML parser might be unclear what need to be fixed. This tag is meant for questions related to these errors.
Questions tagged [xml-error]
15 questions
48
votes
5 answers
cvc-elt.1: Cannot find the declaration of element 'MyElement'
I'm trying to validate a really simple xml using xsd, but for some reason I get this error.
I'll really appreciate if someone can explain me why.
XML File
A
XSD File

Mitko Mitev
- 483
- 1
- 4
- 7
35
votes
4 answers
XML Schema Validation : Cannot find the declaration of element
I am still a bit new to XML Schema etc. and have been working to develop some XML, Schema and a Stylesheet (XSLT). I have made reasonable progress, but then realized that my Schema had stopped working, so I have taken it back to a simpler…

Nerdio
- 983
- 2
- 11
- 18
6
votes
1 answer
The prefix "xsd" for element "xsd:schema" is not bound
I received this WSDL and I am having a problem with the XSD.
I can't seem to find the issue in my XSD file.
What is not bound?
How can I solve this?
error: The prefix "xsd" for element "xsd:schema" is not bound.
This is part of the XSD file:
…

Burre Ifort
- 653
- 3
- 15
- 30
1
vote
1 answer
why is there an error on my empty activity project on android studio?
when I open a new project it comes with an error saying: Element androidx.constraintlayout.widget.ConstraintLayout must be declared and here is the xml code:

Mikyas Tewodros
- 11
- 3
1
vote
1 answer
ORA-31061: XDB error: special char to escaped char conversion failed
I'm completely new to Oracle's XDB, trying to breakfix a code in production environment which i am completely new to.
SELECT DBMS_LOB.SubStr(RTRIM (XMLAGG (XMLELEMENT (E,XMLATTRIBUTES (ntx.nttx_str || '|' AS "Seg")) ORDER BY ntx.ref_id,…

Tedgeor
- 53
- 1
- 5
1
vote
1 answer
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'oai-identifier'. How to fix this?
I have the static XSD schema, which I want to use to validate XML response against from an OAI-PMH endpoints.
It is said there that the schema is already validated.
Yet, when I try to validate XML response from a random OAI-PMH endpoint, such as…

improbable
- 2,308
- 2
- 15
- 28
1
vote
0 answers
no declaration found for element 'n4:Envelope'
I am not sure how to solve this error: no declaration found for element 'n4:Envelope'. I need to get a better understanding of xml schemas and how they are declared.
What declaration is it talking about?
Anyone can help on this?
This is the start of…

Burre Ifort
- 653
- 3
- 15
- 30
1
vote
2 answers
XML Schema - cannot find the declaration of element
XML File:

nospamthanks
- 112
- 2
- 13
1
vote
1 answer
0
votes
1 answer
Cannot find declaration of element 'Root' with dbxml
I'm new to XML. I'm trying to import an XML file but I'm getting an error - "Cannot find declaration of element 'Root'". I suspect it is because the namespace URI (http://xmlns.oracle.com/apps/otm/DBXML) is inactive. I tried going to the URI but it…

Matthew M.
- 1
- 2
0
votes
2 answers
i get some error in sitemap xml type in laravel
i have some problem to my xml file type in my site
it`s work correct but at now i get some text in last line of my file
new (class{constructor(e){this.client=window[Symbol.for(e)],this.bindEvents()}bindEvents(){const e=this;var…

Mehrdad Shirvan
- 81
- 8
0
votes
2 answers
Android 4.0.1 - XML Rendering Error in EditText. Index:0, Size: 0 - Vew draw failed
I am having an issue while adding the EditText in my Activity's XML. It's not visible correctly and when I run App it's there but by clicking on it the keyboard does not show I am unable to add any input there. First, I thought I was having this…

Adnan
- 171
- 2
- 4
0
votes
1 answer
Error when transfering XML data through TCP sockets: XmlException: Document element did not appear
I am trying to create an online Checkers game to start learning about networking. I have a server/client architecture and I am using TCP sockets.
I would like to send a custom object through the stream. I use an XML serialization system to do that…

Alex Kalfoglou
- 13
- 5
0
votes
1 answer
Error: Validating XML against XSD in JDev 11g
I am using JDEV11.1.1.7.0. I am a newbie to Webservices and SOAP. I am building a Web Service from an Existing WSDL.
i.e. I create an XSD and WSDL and then creating a Web Service over it. I am able to test the web service. I am getting the output as…

HarshaSK
- 39
- 1
- 6
-1
votes
1 answer
Having issues converting api json stream into an array in Flutter
The django api I am working with has the following actions
user api (url = website/user/):
action: CREATE_USER
necessary params: action, email_address, password
note: action = 0
action: LOGIN
necessary params: action, email_address,…

user15974537
- 7
- 1