DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21965>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21965

The type of an element should depend also on the substitutionGroup attribute





------- Additional Comments From [EMAIL PROTECTED]  2003-09-21 17:26 -------
Actually this same error message shows up in another example that I believe is 
legal (and which validates in Xerces-J 2.5.0). It's a more complex case in 
which I'm substituting a derived type that derives by restriction from a base 
type that is mostly based on anyType/mixed, and turns it into a simpleContent 
model based on string.

Fragment:

<element name="NameIdentifier" type="saml:NameIdentifierType"/>
<complexType name="NameIdentifierType">
    <complexContent>
        <extension base="anyType">
            <attribute name="NameQualifier" type="string" use="optional"/>
            <attribute name="Format" type="anyURI" use="optional"/>
        </extension>
    </complexContent>
</complexType>

<element name="SimpleNameIdentifier" type="saml:SimpleNameIdentifierType"/>
<complexType name="SimpleNameIdentifierType" mixed="false">
    <simpleContent>
        <restriction base="saml:NameIdentifierType">
            <simpleType>
                <restriction base="string"/>
            </simpleType>
        </restriction>
    </simpleContent>
</complexType>

May not be the same bug, but since the message was identical, I thought it 
might be related.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to