Next in thread → Next in month →

Re: [xml-dev] XSD error cvc-elt is plain misleading

From
Mukul Gandhi <>
To
Rick Jelliffe <>
Date
2018-11-15T05:25:26Z
ID
<CABuuzNOeBfgG=OQL_isTPuB14fs082EcoB_c=>
Thread
Re: [xml-dev] XSD error cvc-elt is plain misleading
On Wed, Nov 14, 2018 at 6:43 AM Rick Jelliffe <[email protected]> wrote:
For example, the most basic error, cvc-elt-1: you can see the typical kinds of description for it here.  It will give you an error like:

cvc-elt.1: Cannot find the declaration of element 'unobtanium'.

But this is misleading.  Most times I get this error, the problem is not that it cannot find a declaration, that is actually another symptom. The problem is that it does not have a schema with a declaration for that element in that namespace.

Valid point. I find the analogy provided by Liam, good. 

 


--
Regards,
Mukul Gandhi
Next in thread → Next in month →