Re: No validation error message when the root element is erroneous

2007-05-10 Thread aac
Ok. When I have disabled "dynamic validation" the error message event is launched. Thanks to Michael and Stanimir. Regards. Alberto -- View this message in context: http://www.nabble.com/No-validation-error-message-when-the-root-element-is-erroneous-tf3720894.html#a10426564 Sent from the Xer

Re: No validation error message when the root element is erroneous

2007-05-10 Thread Michael Glavassevich
Hi Alberto, aac <[EMAIL PROTECTED]> wrote on 05/10/2007 08:16:33 AM: > > Hi Michael > Yes, you are right. > But what I mean is, for example: the root element of my XML file has the > "MD_Metadata" name. > I'm completely sure that in the Schema Grammar this element is included so > it is possib

Re: No validation error message when the root element is erroneous

2007-05-10 Thread Stanimir Stamenkov
Thu, 10 May 2007 05:16:33 -0700 (PDT), /aac/: Thu, 10 May 2007 07:46:33 -0400, /Michael Glavassevich/: Did you mean that the element isn't declared anywhere? If that's the case, you should check if you have the dynamic validation [1] feature enabled (don't set it to true if that's not the beh

Re: No validation error message when the root element is erroneous

2007-05-10 Thread aac
Hi Michael Yes, you are right. But what I mean is, for example: the root element of my XML file has the "MD_Metadata" name. I'm completely sure that in the Schema Grammar this element is included so it is possible to validate the rest of the XML file. And, in this case, everything is correct. Bu

Re: No validation error message when the root element is erroneous

2007-05-10 Thread Michael Glavassevich
Hi Alberto, Not sure what you mean by "the root element of this XML file is incorrect". Any element with a top-level declaration in your schema could potentially be used as a root element. Did you mean that the element isn't declared anywhere? If that's the case, you should check if you have th