"xs" is only a prefix, it can be anything as long as it is properly defined. And it
is defined:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
Here is the output
IBM Schema Quality Checker gave:
ERROR
file = file:c:/test.xsd line 22 column 49
SEVERITY: 1
ERROR TYPE: 1
MESSAGE
The following attributes are mutually exclusive in the element item <xs:element> when the attribute "ref" is specified :
type type
------------------------------------------------------------------------
ERROR
file = file:c:/test.xsd line 23 column 49
SEVERITY: 1
ERROR TYPE: 1
MESSAGE
The following attributes are mutually exclusive in the element item <xs:element> when the attribute "ref" is specified :
type type
------------------------------------------------------------------------
ERROR
file = file:c:/test.xsd line 22 column 49
SEVERITY: 1
ERROR TYPE: 2
MESSAGE
The global element billingadress is not found.
------------------------------------------------------------------------
ERROR
file = file:c:/test.xsd line 23 column 49
SEVERITY: 1
ERROR TYPE: 2
MESSAGE
The global element mailingadress is not found.
------------------------------------------------------------------------
apparently your problem is here:
<xs:element ref="billingadress" type="Address"/>
<xs:element ref="mailingadress" type="Address"/>
[ February 06, 2002: Message edited by: Mapraputa Is ]