On 31 Jan, 06:22, "Eric D" <ericdesha...@gmail.comwrote:
Hi,
is such a complex type valid?
<xsd:complexType name="EthnicityCodeType">
<xsd:simpleContent>
<xsd:extension base="nibrs:EthnicityCodeType">
<xsd:attributeGroup ref="j:SuperTypeMetadata"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
Thanks for your answers.
Eric
Assuming this is a definition in the namespace associated with the
namespace prefix nibrs...
I couldn't explicitly find text in the spec that prevents this, but
even if it is intended to be allowed (rather than just not considered)
I would say that it is a corner case and best avoided.
OTOH - if nibrs:EthnicityCodeType is in a different namespace then it
is obviously OK.
HTH,
Pete.
--
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML to C++ data binding visit
http://www.tech-know-ware.com/lmx
(or
http://www.xml2cpp.com)
=============================================