'cvc-complex-type.3.2.2: Attribute setHeader is not allowed to appear in element headerName (Camel)
I have seen a bunch of explaination, even on this site, about the error above... but no one was sufficiently clear about this two points:
- Why appears this error?
- How can I correct it exactly? What must I change in Camel/Spring boot project to make things work (what files, what configurations, what import of xsd? I must change POM? Where? Etc)
Solution 1:[1]
The error means that you are validating a document against a schema, and the document is not valid against the schema; specifically, it has an attribute called setHeader on an element called headerName, and the schema does not allow that attribute.
To correct it, remove the attribute.
It looks from your question as if you aren't sure what XML document is being validated, and where to find it. I'm afraid I can't help you with that.
Solution 2:[2]
under <div className="row "> delete this line
this.state.notes.length &&
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Michael Kay |
| Solution 2 | john s |
