I have set a custom read-only attribute which is of boolean type in a schema that specifies whether an element is read-only. I use XmlBeans to generate the XmlBean classes from the schema. Is there a way to access the read-only attribute value from the schema? I have tried using the SchemaType and SchemaProperty from the XmlBeans API but I have not been able to access the read-only attribute from those two classes.
Any suggestions would be helpful. Thanks for your help.

