I think you've run into an instance of 
https://sourceforge.net/apps/trac/pyxb/ticket/33; in this case, it's 
choking on the ProductType element whose content model is a sequence of 
about 348 elements with various levels of optionality.  It looks to me 
like it's working, but it's going to take an exponential length of time 
to figure out what the DFA needs to be, since it's being stupid about it.

Sorry, but this is one for which I don't have a ready work-around.  Is 
getting this to work a high priority for you?  It probably won't take 
too long to fix (if that is the problem), but I have an unrelated 
release deadline that will interfere with finding time to work on it.

Peter

On 2/18/2010 7:03 PM, Kenji Noguchi wrote:
> Hi
>
> I'm trying to generate a module from Amazon's 2 xsd files.
>
> https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/amzn-base.xsd
> https://images-na.ssl-images-amazon.com/images/G/01/rainier/help/xsd/release_4_1/CE.xsd
> CE.xsd includes amzn-base.xsd
>
> Then I ran following;
>
> pyxbgen -u CE.xsd -m ce
>
> I waited at least 30min but still not finished.  CPU usage was 100%
> all the time.
> I don't think CE. xsd is too complex to process.   Is pyxbgen in
> infinite loop or it just
> takes some more time to finish?
>
> By the way amzn-base.xsd was processed within a minute.
> pyxbgen -u amzn-base.xsd -m amzn_base
>
> thank you,
> kenji noguchi
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> pyxb-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyxb-users
>    



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pyxb-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyxb-users

Reply via email to