Kiran,
Unfortunately right now there is no such API that allows to know the simple
datatype name.
I had already complained about this and probably posted the bug report (do
not remember)
Nevertheless, I had to modify xerces' code to extract such info for my
project needs.

I have attached the modified files which you may use to achieve your goal.
(   XMLCh* getTypeName() const; is that what you need )

Also, in these sources, I have fixed the simple datatype hierarchy (acc. to
XMLSchema rec.)
So it would be good if responsible person in Xerces team (probably Pei Yong
?) review them and apply

Regards,
Peter A. Volchek


----- Original Message -----
From: "Bagepalli, Kiran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 03, 2002 4:49 AM
Subject: Derived Schema datatypes


> Is there any way to get the information regarding the name of the derived
> schema datatype. Currently if it is integer, I get the datatype names as
> decimal which is the base type. Is this information retrievable from the
> DatatypeValidator.
>
> Thanks
> Kiran
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Attachment: typename_fix.zip
Description: Zip compressed data

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

Reply via email to