Hi all,
I used scomp to generate a parser for an XML file which root element
is expected to be WorkflowManagerInstanceDescriptor. The input file
for scomp is the attached WorkflowManager.xsd file.
I created an XML file (UnsecureWorkflow1.xml) and validated it
against the schema using
Its because your code is using the Type instead of the Document.
If you use WorkflowManagerInstanceDescriptorDocument in your code
instead these errors should go away.
You can read a little more about why this is so here,
Yes, I validated the input XML using the XMLBeans API (see the java
class attached to my 1st message) and the error message indicates the
input is invalid. Since the editors I mentioned and I myself could not
see anything wrong with the input file, I don't understand why XMLBeans
is
I think the difference in the editor validation is you validated the
instance as XML (thats what eclipse does) which is different than
validating it against the schema type you had specified in your code.
-jacobd
On Tue, Jul 15, 2008 at 8:57 AM, Andre de Souza [EMAIL PROTECTED] wrote:
Yes, I
It works! Using the Document instead of the Type does the trick.
Thank you everyoby.
Andre de Souza
Jacob Danner wrote:
Its because your code is using the Type instead of the Document.
If you use WorkflowManagerInstanceDescriptorDocument in your code
instead these errors should go
5 matches
Mail list logo