> On Thursday, January 30, 2014 9:40 AM, Gary Gregory <garydgreg...@gmail.com>
> wrote:
> > On Thu, Jan 30, 2014 at 9:24 AM, Woonsan Ko <woon_...@yahoo.com> wrote:
>
>> AFAIK, SCXML allows ad hoc elements from arbitrary namespaces inside
>> blocks of executable content (see section 4.10) [1].
>> So, I guess JAXB couldn't work very well or not really worth for in
> this
>> context?
>>
>
> Why not? JAXB is supposed to process pretty much any XML Schema you feed it
> and SCXML has an XSD schema, so... ;)
SCXML library currently provides a generic reader allowing ad hoc custom action
elements which can be included in SCXML documents by users.
If it has to use JAXB with explicit bindings with the custom elements, then I
guess users should end up providing their own or extended JAXB mapping java
classes. Also, in that case, SCXML execution context should be aware of how to
handle the custom action beans somehow.
I'm not sure if it's really easy or desirable...
Regards,
Woonsan
>
> Gary
>
>
>>
>> [1] http://www.w3.org/TR/scxml/
>>
>>
>>
>>
>> > On Wednesday, January 29, 2014 5:33 PM, Gary Gregory <
>> garydgreg...@gmail.com> wrote:
>> > > Hi All:
>> >
>> > I was surprised to see that JAXB is not used for XML IO.
>> >
>> > Any reason?
>> >
>> > Gary
>> >
>> > --
>> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> > Java Persistence with Hibernate, Second
>> > Edition<http://www.manning.com/bauer3/>
>> > JUnit in Action, Second Edition
> <http://www.manning.com/tahchiev/>
>> > Spring Batch in Action <http://www.manning.com/templier/>
>> > Blog: http://garygregory.wordpress.com
>> > Home: http://garygregory.com/
>> > Tweet! http://twitter.com/GaryGregory
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>
>>
>>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second
> Edition<http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org