Hi Kelvin, Yes, the root element varies as you described. Btw: from the XML point of view, both variations are equivalent, right?
Is there a dynamic way to get the targetnamespace of the schama that was used to generate the sdo? Regards, Daniel --- kelvin goodson <[EMAIL PROTECTED]> schrieb: > I'm kind of surprised that the root element of the > serialised document is in > the target namespace of the Type, if you provide > null as the input URI. So > to check, the root element looks something like > > <tns:Input xmlns:tns="http://abc.com/Sample"> > > as opposed to > > <Input xmlns:tns="http://abc.com/Sample" > xsi:type="tns:InputType"> > > .... yes? > > It's clear from the code path indicated by the > exception you reported, that > the metadata created during code generation due to > the global elements in > your schema are not being found at document creation > time. I believe you > should be supplying the namespace string to the > CreateDocument call, and > all will be well. > > Kelvin. Lesen Sie Ihre E-Mails jetzt einfach von unterwegs. www.yahoo.de/go --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
