Hi,
I implemented TypeInfo a while back against
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#TypeInfo
which does not say to expose anon types. The new specification
http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030609/core.html#TypeInfo
says
"Otherwise, expose the namespace and local name of the corresponding
anonymous type name."
which is what you want. So this will work fine for you when its updated to
the new version.
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]