BizTalk Server General - xs:import problems

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2004 > xs:import problems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author xs:import problems
Hugo Rodger-Brown

2004-12-03, 7:46 am

I'm having problems with imported xsd's and duplicate definitions, and hope
someone can help me out.

I have a schema that contains a number of common data types - A

This is imported into two separate schema - B and C.

I then have a fourth schema that needs to import both B and C. I can import
one or other, but if I try and import the second I get the following:

1. The simpleType 'http://xyz.com/schemas/CommonDataTypes:VERSION_NUMBER'
has already been declared. An error occurred at ...

etc.

Is there any way round this, without simply redeclaring all the common data
types in each schema?

Hugo


Bob Corcoran

2004-12-03, 7:46 am

I had a similar issue when importing a complex schema. In some of the
imported schemas, I was receiving the following message when I tried to
validate them:

'PostalAddress.xsd Node "<Schema>" - This schema file has a TypeName that
collides with the RootNode TypeName of one of its root nodes. Make sure that
they are different.'

I was able to correct this error by right clicking on the <schema> node and
changing the 'Root Refernce' property from 'default' to the referenced type
in question.

"Hugo Rodger-Brown" wrote:

> I'm having problems with imported xsd's and duplicate definitions, and hope
> someone can help me out.
>
> I have a schema that contains a number of common data types - A
>
> This is imported into two separate schema - B and C.
>
> I then have a fourth schema that needs to import both B and C. I can import
> one or other, but if I try and import the second I get the following:
>
> 1. The simpleType 'http://xyz.com/schemas/CommonDataTypes:VERSION_NUMBER'
> has already been declared. An error occurred at ...
>
> etc.
>
> Is there any way round this, without simply redeclaring all the common data
> types in each schema?
>
> Hugo
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com