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

Reply via email to