I get the following error message when trying to process the XBRL schema
using source generator. 
I have seen the question asked several times, but never with a clear
answer.

"A complex type cannot be a restriction of a restriction"

I have read through the XML Schema spec, and the relevant sections are
quite confusing. Since I am getting the error from Castor, I thought I
would post a simple question here.

Should it be possible to create a complex type which is a restriction of
a restriction?

Example:
linkbase:presentationLink is a complexType which is a restriction of
xl:extendedType. 
xl:extendedType is a restriction of anyType.

Is this legal with regard to XML Schema?
If so, why does it not work with the source generator?
Is there a workaround, preferably not involving changes to the schema
(which I don't control)?

Thanks,
Matthew Van Horn

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to