Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about xml-validation

Read more about xml-validation

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - xml-validation

Attribute 'targetNamespace' is not allowed to appear in element

I wrote this XML file, plus the XSD, and I'm using XQuery to add information on a db in BaseX. I'm using Postman to do the POST requests, but when I run Postman it is giving me this error message: [v...
test-img

gipsywontmakeit

xml

xsd

xml-namespaces

xsd-validation

xml-validation

Votes: 0

Answers: 1

Latest Answer

Remove targetNamespace="http://www.ipp.estg.pt/Dados_clientess" from the root element of your XML document. A targetNamespace attribute does not belong on the root element of an XML instance...
test-img

kjhughes

No declaration found for element ' '

I'm new to working with XML and XSD files. What I'm trying to do is validate an xml file using a schema. This is the start of my XML file: <?xml version="1.0" encoding="UTF-8"?&...
test-img

Spyros Mouchlianitis

xml

xsd

xsd-validation

xml-validation

Votes: 0

Answers: 1

Latest Answer

You have to somehow associate the XSD with the XML. A common way to do this is to use noNamespaceSchemaLocation for non-namespaced XML or schemaLocation for namespaced XML. To use this approach, chan...
test-img

kjhughes

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved