> From: Andrew Dorrycott
> Sent: Thursday, August 13, 2009 9:59:32 AM
> 
> Howdy,
> 
> I've found something new in the mix with the JPDL xsd; The problem I'm 
> running 
> into is that groups are not being evaluated at all.
> 
> My context I'm using is on line 90 in the "fork" element, the group 
> "node-content-elements" is displayed as having 0 to unlimited occurrences. 
> This 
> should then have a description, event, exception-handler, timer and 
> transition.
> 
> I see the code where they should be added, but from what it looks like, 
> "self.attributeGroupNameList" remains an empty list for the entire execution 
> time.

Andrew -

Give me a bit more time to study this, but ...

After a quick look and after reading http://www.w3.org/TR/xmlschema-0/#groups,
I'm not sure what code to generate for the case you mention.

That element ("fork") contains an xs:choice containing an xs:group.  And,
the xs:group definition contains an additional xs:choice.

I suppose we could try to generate code for everything (all the items in
the xs:choice at both levels, and leave the enforcement of constraints
to someone else.  Would that be good enough?

> 
> I haven't spent enough time finding a solution, but I hope this is enough 
> information to help you out. My current fix is just to replace the group call 
> with the information that it is pointing to.
> 

If you think you have a fix please let me know.  And, if you think
you can describe what code should be generated, tell me
about that, too.

- Dave


 -- 

Dave Kuhlman
http://www.rexx.com/~dkuhlman

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to