Kindly unsubscribe me.

-----Original Message-----
From: Fabio Riccardi [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 11:06 AM
To: [EMAIL PROTECTED]
Subject: Re: [PSVI] full support is available


Hi,

is there a way of figuring out the actual type of the members of a list?

If I have something like:

     <xsd:simpleType name="valList">
         <xsd:list>
             <xsd:simpleType>
                 <xsd:union memberTypes="xsd:int xsd:float xsd:string"/>
             </xsd:simpleType>
         </xsd:list>
     </xsd:simpleType>

all I can retrieve is the type of the list itself, but I couldn't find any
way of getting to the types of the actual data items...

Am I missing something?

Thanks for your help, ciao,

  - Fabio

On Monday, June 3, 2002, at 06:16 AM, [EMAIL PROTECTED] wrote:

> Hi all,
>
> Now the full PSVI information can be retrieved from XNI augmentation.
>
>> From within an XMLDocumentHandler (DOM/SAX parsers, for example), one can
> 1. Get an ElementPSVI from the XNI augmentation of the validation root
> (normally the root element);
> 2. Get XSModel from it by calling ElementPSVI#getSchemaInformation();
> 3. Get a list of XSNamespaceItem by XSModel#getNamespaceItems();
> 4. From each XSNamespaceItem, get its target namespace, components of that
> namespace, and document locations that contribute to that namespace.
>
> There are things that need to be revisited:
> 1. Method names: getIsXXX.
> 2. How to represent annotations.
> 3. How to represent a document information item (the [document] PSVI
> property "http://www.w3.org/TR/xmlschema-1/#sd-document";).
>
> Future plans:
> - Convert preloaded grammars to XSModel, so that users can examine schema
> components in preloaded grammars;
> - Provide PSVI via DOM (possibly controlled by a feature)
>
> Cheers,
> Sandy Gao
> Software Developer, IBM Canada
> (1-905) 413-3255
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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


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

Reply via email to