[Rets-dev] Invalid Complex Types in RETS XSD Schemas
Paula OBrien
paula.obrien at sbcglobal.net
Sat Jan 13 20:01:32 CST 2007
Hi Jozsef,
RETSCommons.xsd is a library schema, with complexTypes used by many of the other RETS2 payload schemas. As such, it has no top-level element as it is not meant to be its own payload. That is why the XSD.EXE is throwing an error. Point the xsd.exe at Listing.xsd or Property.xsd for example (or any of the other payloads) and it should do the right thing and generate objects.
Jozsef Nagy <jozsef_nagy at yahoo.com> wrote: Hi,
I'm trying to generate objects from XSD files using the Microsoft XSD.EXE command utility tool (and XSDobjectgen designed for .NET Framework 2.0), but when I run them against the RETSCommons.xsd schema (current version), they are returning an error message: "Warning: cannot generate classes because no top-level elements with complex type were found." Creating those Classes manually would be very tedious due to the large number of elements, so a valid schema would be crucial for me to speed up development processes.
Does anyone have a suggestion on how to proceed?
Thank you in advance.
Sincerely,
- jozsef
---------------------------------
Any questions? Get answers on any topic at Yahoo! Answers. Try it now._______________________________________________
Rets-dev mailing list
Rets-dev at rets.org
http://lists.rets.org/mailman/listinfo/rets-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rets.org/pipermail/rets-dev/attachments/20070113/1094c359/attachment.html
More information about the Rets-dev
mailing list