I am trying to get the TypeInfo from an attribute (or element).
Specifically, I want to do "isDerivedFrom(...)"

Generally, I am building a grammar pool, and then doing
"normalize-document()".  This appears to be working well (getting schema
validation errors when appropriate, can getElementById(), default attributes
seem to be set, etc.).

However, the elements and attributes don't seem to be hooked up to the type
information.

I have tried:

typeInfo.isDerivedFrom("http://www.w3.org/2001/XMLSchema";, "boolean", 0)
   and
typeInfo.isDerivedFrom("http://www.w3.org/2001/XMLSchema";, "boolean", 
                       TypeInfo.DERIVATION_EXTENSION |
                       TypeInfo.DERIVATION_RESTRICTION);

I also tried printing out the typeInfo name and namespace (they are null).

Is there some "trick" (feature?) to get the type information available on
the PSVI?  Or can you point me to some example that works?


Thanks much,

Windy


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

Reply via email to