Hi Maia,

This should be fixed in the CVS, it was a bug in the Schema Object
Model.
Thanks for reporting it,

Arnaud

-----Original Message-----
From: Maia Zaharieva [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, September 28, 2002 8:43 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] AttributeDecl

hi all!
�
i have problem when i try to get the information on a given attribute if
the attribute is referenced.
so if i have the following in my schema:
�
<xs:complexType name="LangStringType">
� <xs:simpleContent>
��� <xs:extension base="xs:string">
����� <xs:attribute ref="Language"/>
��� </xs:extension>
� </xs:simpleContent>
</xs:complexType>
�
and
<xs:attribute name="Language" type="xs:language" use="required"/>
�
i get NullPointerException trying to reach the type or other information
on this attribute (getUse() gives "optional" as well).
�
has anyone an idea what i am doing wrong here?
�
thanks in advance,
maia

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

Reply via email to