Devin Torres <[EMAIL PROTECTED]> writes:

> 
> When I try to parse any schema document from the Open Travel Alliance,
> I get this error:

Devin -

Yes. You are right.  generateDS.py does not handle all of the features in the
XML Schema spec.  Although, it now handles many features that it was formerly
not able to.

You can try modifying your XML Schema.  But, I did a Web search and found this:

    http://www.opentravel.org/Specifications/SchemaIndex.aspx?FolderName=2007B

And, that looks like a huge collection of schemas.  I doubt that you'd want to
try modifying that.

What I usually tell those that have this problem is that if you are willing to
work with Jython instead of Python, then you might want to look at XMLBeans:

    http://xmlbeans.apache.org/

XMLBeans generates Java code (not Python), and that code usable from Jython.

Hope this helps.

- Dave



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to