On 5/16/05, Daniel Barclay <[EMAIL PROTECTED]> wrote: > JaxMeXS generates an incorrect object structure. It inserts the > representation of an extra <sequence> element above the representation > of the <choice> element, and leaves a null pointer in the particles > list.
Hmmm. The use of xs:extension builds an *implicit* sequence, consisting of the original content model and the added. In other words, the first particle matches the content model of xs:any. (It is, however, questionable, whether the "null" is a meaningful representation of the xs:any content model.) I wouldn't want to change this for 0.4, as the likelihood for introducing new bugs seems to be large. Question is: What would be a better representation than null? Jochen -- Outside of a dog, a book is man's best friend. Inside of a dog, its too dark to read. (Groucho Marx) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
