473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Namespace Question

I sent this question in before, so apologies.

I have a number of schemas which I add into a schema collection. A number of
the schemas define types, the others contain business context message
details (e.g. updating an employee etc). The schemas which define general
types have their own namespace defined. All the other schemas have the
same<< namespace.


After loading 101 schemas into my collection I get the error

"Server was unable to process request. The global element
urn:xxxx/yyy/zzz:abc has already been declared"

There are still approximately 140 schemas in total.

"abc" is imported into a number of other schemas. Why would the collection
wait till over 100 schemas have been added to report this error? When the
error is reported I can identify at least 50 schemas that have already
imported this schema, and used the types defined in it.

Can someone explain this behaviour? Should all my schemas have different
namespaces?

Thanks for any help.
Nov 12 '05 #1
2 3910
There is a KB article regarding multiple imports/includes of the same schema
at:
http://support.microsoft.com/kb/317490/EN-US/

HTH,
Priya

"John Jenkins" <jo**********@yahoo.com> wrote in message
news:R8***************@newsfe3-gui.ntli.net...
I sent this question in before, so apologies.

I have a number of schemas which I add into a schema collection. A number of the schemas define types, the others contain business context message
details (e.g. updating an employee etc). The schemas which define general
types have their own namespace defined. All the other schemas have the
same<< namespace.


After loading 101 schemas into my collection I get the error

"Server was unable to process request. The global element
urn:xxxx/yyy/zzz:abc has already been declared"

There are still approximately 140 schemas in total.

"abc" is imported into a number of other schemas. Why would the collection
wait till over 100 schemas have been added to report this error? When the
error is reported I can identify at least 50 schemas that have already
imported this schema, and used the types defined in it.

Can someone explain this behaviour? Should all my schemas have different
namespaces?

Thanks for any help.

Nov 12 '05 #2
Thanks Priya,
is there a fix / workaround? I cannot modify my schemas.
"Priya Lakshminarayanan [MSFT]" <pr****@online.microsoft.com> wrote in
message news:42********@news.microsoft.com...
There is a KB article regarding multiple imports/includes of the same schema at:
http://support.microsoft.com/kb/317490/EN-US/

HTH,
Priya

"John Jenkins" <jo**********@yahoo.com> wrote in message
news:R8***************@newsfe3-gui.ntli.net...
I sent this question in before, so apologies.

I have a number of schemas which I add into a schema collection. A number
of
the schemas define types, the others contain business context message
details (e.g. updating an employee etc). The schemas which define

general types have their own namespace defined. All the other schemas have the
>same<< namespace.


After loading 101 schemas into my collection I get the error

"Server was unable to process request. The global element
urn:xxxx/yyy/zzz:abc has already been declared"

There are still approximately 140 schemas in total.

"abc" is imported into a number of other schemas. Why would the collection wait till over 100 schemas have been added to report this error? When the error is reported I can identify at least 50 schemas that have already
imported this schema, and used the types defined in it.

Can someone explain this behaviour? Should all my schemas have different
namespaces?

Thanks for any help.


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John L. Clark | last post by:
I am curious as to the rationale, and effect, of having default namespaces not applying (directly) to attributes (see http://www.w3.org/TR/REC-xml-names/#defaulting). Given an attribute without a...
25
by: kj | last post by:
Consider the following XML document: <?xml version='1.0' encoding='UTF-8'?> <bar:foo xmlns:bar='someuri'> <baz/> </bar:foo> What namespace does baz belong to? What is this namespace bound...
3
by: Mike Dickens | last post by:
hi, i'm sure this has come up before but havn't managed to find an answer. if i have the following xslt <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet method="xml" version="1.0"...
6
by: clinton__bill | last post by:
Hi, I usually use "using namespace <namespace_name>" to reference a namespace. Today I run across a code, in its header file it has this, namespace SP1{ class C1; } While SP1::C1 is a...
2
by: Tony Johansson | last post by:
Hello! I'm reading a book about C++ and there is something that I don't understand so I ask you. Below I have the text from the book and the code from the file where main is located and some...
20
by: Patrick Guio | last post by:
Dear all, I have some problem with insertion operator together with namespace. I have a header file foo.h containing declaration of classes, typedefs and insertion operators for the typedefs in...
4
by: Programatix | last post by:
Hi, Normally, I would use Namespace for all the window forms I created. With VS 2005, the code generated by the designer is hidden using partial keyword. The question is, is there an efficient...
32
by: toolmaster | last post by:
Since many of the modern computer languages have built-in namespace features, I can't understand why not add this feature into standard C. I've heard many people complain of the lacking of...
3
by: CrazyJohn | last post by:
Hi guys, This is my first time posting question here, if I break any rules, please kindly point out. And I'm really glad to be a part of this community. Here is my question, Our lecturer...
17
by: Peng Yu | last post by:
Hi, I'm wondering if there is something in namespace like the 'private' keyword in class? I want to define some class or function that can only be used within that namespace. Thanks, Peng
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.