Ill take a look at this today or tomorrow.

Gareth


On Wed, 13 Aug 2003, Matthew Berry wrote:

> Hi,
> 
> I am trying to read the type info for an attribute, which is of my own
> defined enumeration. Both getNamespace() and getName() are null. I would at
> least expect my own namespace come through.
> 
> The problem occurs for the 'TYPE' attribute for the 'MSG' element.
> 
> <xsd:element name="MSG" minOccurs="0" maxOccurs="unbounded">
>  <xsd:complexType>
>   <xsd:attribute name="TYPE" use="required" >
>    <xsd:simpleType>
>     <xsd:restriction base="xsd:string">
>      <xsd:enumeration value="warning" />
>      <xsd:enumeration value="info" />
>     </xsd:restriction>
>    </xsd:simpleType>
>   </xsd:attribute>
>   <xsd:attribute name="TEXT" type="xsd:string" use="required" />
> </xsd:complexType>
> 
> Thanks
> 
> 
> 
> The information in this email and attachments is confidential and intended
> for the attention and use of the named addressee(s). It must not be
> disclosed, distributed, or copied to any other person without APT's written
> consent. If you are not the named addressee(s), or a person responsible for
> delivering it, you are hereby notified that any disclosure, copying,
> distribution or taking any action in relation to the information is strictly
> prohibited and may be unlawful.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
Gareth Reakes, Head of Product Development  +44-1865-203192
DecisionSoft Limited                        http://www.decisionsoft.com
XML Development and Services




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

Reply via email to