Hi all, I have ceated a CSharp class from an xml schema (xsd) by using the
command line tool XSD. When I attempt to create an XmlSerializer object from
the class object. I get the following two errors.
Cannot convert type
'mamc.regional.informatics.hermes.PaginationPageQu estionTriggerRule[]' to
'mamc.regional.informatics.hermes.PaginationPageQu estionTriggerRule'
Cannot implicitly convert type
'mamc.regional.informatics.hermes.PaginationPageQu estionTriggerRule' to
'mamc.regional.informatics.hermes.PaginationPageQu estionTriggerRule[]'
I am not quite sure why the XSD tool even generated a non collection, i.e.
single instance definition of the trigger rule. In the definition the
question can have 0 to unbounded instances of trigger and trigger can have 1
to unbounded instances of rule.
Any help with this is greatly appreciated.
--
Thank you,
John