[xsd-users] Polymorphic type as root element
    Boris Kolpackov 
    boris at codesynthesis.com
       
    Thu Jul  1 06:35:15 EDT 2010
    
    
  
Hi Benjamin,
Benjamin Schindler <bschindler at inf.ethz.ch> writes:
 
> I tried the following too, but to no avail:
Does it fail in the same way as before or the error is different
now? Perhaps the validation is enabled (default) and the schema 
cannot be found (see Q 2.1 in http://wiki.codesynthesis.com/Tree/FAQ)?
> Sorry for not mentioning: EnsightReaderSettings_t is a type which
> extends BaseSettings, and parseBaseSettings is therefore the parser
> function to parse any BaseSettings type and should return a
> EnsightReaderSettings object (in form of a BaseSettings
> reference/pointer of course)
I don't see why this won't work then. I will need a test case that 
reproduces the problem.
Boris
    
    
More information about the xsd-users
mailing list