[xsd-users] is "warning T005" really needed? (use --polymorphic-type to indicate this type is polymorphic ...)

Erik Sjölund erik.sjolund at gmail.com
Sun May 5 12:51:56 EDT 2013


>
> XSD issues this warning if a type is used in a substitution group
> and the type and substitution group are defined in different files.
> Without the --polymorphic-type option when compiling the schema
> defining the type, XSD will treat it as non-polymorphic.
>
> You can also suppress the warning by passing --disable-warning T005.
>
> Boris
>

Thanks, Boris!
Great, so there is already a command line option for hiding warnings. I
totally had missed that.
And regarding the functionality around --polymorphic-type and multiple
schemas, I think
I need to spend some time understanding it better. Right now it it's not
quite clear to me.
cheers,
Erik


More information about the xsd-users mailing list