PDA

View Full Version : Downloading and installing schemas


narasimha
10-22-2005, 06:33
Hi all,
I am having a serious problem with installing schemas in the Business Connector. I am following the webmethods guide "EDICoreUsersGuide" for the same.
I could follow the procedure for installing the templates, but something wrong with installing the schemas. As mentioned in the guide, I unzipped the schemas from the file downloaded from the corresponding site. As per the guide, in the BC developer, I tried the following:
Select the folder --> Create new Record --> Enter the name and select the package --> select XML Schema --> In the URL, I have given the location where the schema is stored --> Pressed NEXT.

Here, I am getting the following error:
http://www.wmusers.com/wmusers/messages/1825/72962.gif

Could anyone please let me know how to rectify this error.
Thank you in anticipation

leonlee
10-22-2005, 06:55
Hey Motupalli,

This is due to the fact that the choice element causes the schema to be ambiguous which makes it impossibel for the IS to decide which pattern to use when building its own schema.

Please see the following link:
http://books.xmlschemata.org/relaxng/relax-CHP-16-SECT-1.html

You have to modify the xsd to avoid using the choice element and rebuild the IS schema and try validating against that.


HTH,
-L

narasimha
10-22-2005, 07:13
Hi Lewis,
Thanks for the response. But sorry to say that your answer seems to be of very high level for me. Could you please be elaborate?

Thanks

leonlee
10-22-2005, 10:02
Have you ran xml spy to validate your schema whether its valid or not ? You are getting ambiguous content model errors because at least one of your content models is nondeterministic ("ambiguous"). In essence what this means is that the content models in question can match identical XML element sequences in more than one way.

HTH,
-L