On Thu, Jul 28, 2016 at 01:46:06PM -0400, Bing Wang wrote: > Does generateDS support XML version 1.1?
Bing, Hello. I don't think I really know. I don't have any XML 1.1 documents to test with. I did a little bit of searching and reading just now. The important difference that I can find between 1.0 and 1.1 is that version 1.1 allows the use of more characters in names (for example, element names). generateDS.py turns element names into class names. So, does Python allow the extra name characters allowed by XML 1.1 in class names? generateDS.py uses lxml (http://lxml.de). So, it would have to be the case that lxml supports XML 1.1. You can try parsing one of your XML 1.1 documents with lxml to find out. And, you should try sending your XML 1.1 schema through generateDS.py and see what you get. Specifically will Python run the generated file. Please let me know the results of the above tests with XML 1.1. Thank you. Hope this helps. Dave > ------------------------------------------------------------------------------ > _______________________________________________ > generateds-users mailing list > generateds-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/generateds-users -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users