Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a one-to-one relationship between XML namespaces and XML Schemas?

0
Posted

Is there a one-to-one relationship between XML namespaces and XML Schemas?

0

No. As was shown in question 8.1, a schema may use elements or attributes from multiple XML namespaces. And although a given XML Schema document can only declare elements and attributes in a single XML namespace, the relationship between XML namespaces and XML Schema documents is not one-to-one. This is because multiple documents can all declare elements and attributes in the same XML namespace. When this is done, one XML Schema document can include another XML Schema document that has the same target namespace with the xs:include element. For more information, see Namespace Myth #8.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123