Bug 6873 - cos_nonambig error 'Unique Particle Attribution rule'
Summary: cos_nonambig error 'Unique Particle Attribution rule'
Status: NEW
Alias: None
Product: Xerces-J
Classification: Unclassified
Component: Schema-Structures (show other bugs)
Version: 1.4.4
Hardware: PC All
: P3 major
Target Milestone: ---
Assignee: Xerces-J Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-05 11:09 UTC by Tracey Reilly
Modified: 2005-03-20 17:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tracey Reilly 2002-03-05 11:09:42 UTC
<xsd:element name="intermediary" type="AgentRef" minOccurs="0" maxOccurs="2"/>

<xsd:complexType name="AgentRef">
<xsd:sequence>
<xsd:element name="addressUsageDom" type="DomainRef" minOccurs="0"/>
<xsd:element name="isMessageToSend" type="xsd:boolean" minOccurs="0"/>
<xsd:element name="account" type="LegalEntityAccount" minOccurs="0"/>
<xsd:element name="businessEntityRole" type="BusinessEntityRole" minOccurs="0"/>
<xsd:element name="isdSSIAddress" type="ISDSSIAddress" minOccurs="0" 
maxOccurs="unbounded"/>
<xsd:element name="tradeCounterparty" type="BusinessEntityRef" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>

The element name 'intermediary' is responsible for Xerces generating the above 
error. The schema ISD_SSI_Common.xsd, which contains the above syntax, has no 
namespace and includes another schema, which also has no namespace.
 
In turn, subsystem level schemas, which have a unique namespace, reference 
ISD_SSI_Common using the include statement. 

These subsystem schemas are then referenced by message level schemas, which 
have an identical namespace to the subsystem schema they are referencing. Again 
the include statement is used 

N.B. If I change the maxOccurs value mentioned to 'unbounded', the error is not 
generated.