Henri Gomez wrote:
>> > Modify the RI but what about specs ?
>>
>> Such a schema generator will not be conformant. But that should be OK,
>> as long as we make sure such processing doesn't kick in by default.
>
> Well i take a look at specs and didn't see it so I wonder if we should
> wait for updated specs or make some 'extensions' available.
I think first doing it as an extension is usually a preferable approach.
If more people find it useful, we can plan on moving it into the spec at
some point.
>> >> Currently the project is looking for volunteer...
>> >
>> > Do you hiring ?
>>
>> You mean, is Sun hiring? Probably. But I don't think we are hiring for
>> the JAXB team.
>
> Not Sun but this OSS project :)
Oh yes, we are looking for contributers all the time. Just that we can't
pay :-(
>> I'm really looking for volunteers. I can help, but I don't have cycles
>> to drive this by myself, so I need someone to do so.
>
> Good indications on where to look will be a good start point :)
First step would be to check out the workspace. See
https://jaxb2-sources.dev.java.net/ Check out jaxb-2_1-branch.
schema generator is XmlSchemaGenerator.java.
PropertyInfo extends AnnotationSource, so from your MyXmlSchemaGenerator
Impl you can look for any annotations. You should then define a whole
bunch of annotations for controlling facets etc, and just read them and
generate the schema accordingly.
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com