You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-user@xml.apache.org by Martin Wegner <ma...@yahoo.com> on 2004/05/27 19:05:29 UTC

Validation Question

Greetings.

I have an XML fragment that meets my schema and that XMLBeans parses
correctly.  I also create an XMLOption object and set the error listener
and then paass the option object to my parse method so that I can capture
any errors in the "wild".

What I am noticing in my testing is that some errors don't get reported to
my listener.  In particular, if my schema defines an element as
"<oneThing>" and I my fragment has an error like "<onething>", the
validate() method returns false but the error listener has nothing in it.

What am I doing wrong?  I know this has to be something on my side but I
am loathe to find it.

Thanks in advance.


--Marty


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/