I am trying to compile an xsd.  The SchemaTypeSystemCompiler is throwing an
XmlException, with an error:

cvc-complex-type.4: Expected attribute: className in element method

I have searched the file, and cannot find the source of the error.  I have
about 30 occurrences of the method element, and each one looks like it has a
className attribute by visual inspection.

I know I am missing something right in front of my nose, but the cryptic
error message does not give me much help.  How do I figure out what
"cvc-complex-type.4" is?  How do I figure out which element is missing the
attribute?  I have tried the debugger, but when the XmlBeans exception
occurs, there is nothing I can find that shows me where in the xsd file the
compiler found the error.

It would be nice if I could get a line and/or character offset, or some
textual context, or anything that would help me find a typo in a 537-line
schema file.

Does anyone have any suggestions?

-- 
Jim McMaster
mailto:[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to