PDA

View Full Version : XML Schema Validation IssueAmbiguous content model in schema


raviusd
10-16-2003, 16:29
I have a scenario where my XML instance is not getting validated with XML schema in the “validate” step. However the same instance is validating with XML Spy. Following is the error, which I am getting:


Ambiguous content model in schema – not LL(1)
Error Code : NV-009

Please note that my schema have namespaces in it and it’s particularly blowing out when it is trying to refer fields in an imported schema.


Any advice, input would be helpful.


Thanks,
-Ravi.

curtisling
08-07-2007, 13:52
Given the age of this post, I suspect no one is waiting for an answer. However this message relates to webMethods IS 6.1 not supporting the XML Schema element "all" (or xsd:all)
See webMethods SR-1-50000433
http://advantage.webmethods.com/article/?id=SR-1-50000433
"we do not support xsd:all element. This is planned for the next IS release (after 6.1). There is a workaround
1) replace the tags :
- </xsd:all>
by
- </xsd:sequence>
2) Make sure that you have a root element defined on your xml schema otherwise you would not be able to generate the final document"