commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ingmar Kliche (JIRA)" <>
Subject [jira] Commented: (SCXML-79) SCXMLSerializer: nested states have a "parentid" attribute
Date Thu, 31 Jul 2008 12:42:33 GMT


Ingmar Kliche commented on SCXML-79:

Hi Rahul,

when authoring complex SCXML state machines I heavily use to source in the content of states
and the datamodel. But this makes it sometimes hard to overlook the resolved state machine.
So I use the parser to resolve everything and the serializer to dump the resolved state machine.
Also for "debugging" purposes it is much easier to follow the state machine execution based
on your logs if you have a resolved SCXML document.

- Ingmar.

> SCXMLSerializer: nested states have a "parentid" attribute
> ----------------------------------------------------------
>                 Key: SCXML-79
>                 URL:
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Ingmar Kliche
>             Fix For: 0.9
>         Attachments: SCXMLSerializerTest.patch
> Nested states appear to have a "parentid" attribute (which is not defined in the spec)
when serialized. Example:
> <?xml version="1.0" encoding="UTF-8"?>
> <scxml xmlns="" xmlns:cs=""
version="1.0" initial="par">
>  <parallel id="par">
>   <state id="S1" parentid="par">
>    <state id="S11" parentid="S1">
>    </state>
>   </state>
>   <state id="S2" parentid="par">
>    <state id="S21" parentid="S2">
>    </state>
>   </state>
>  </parallel>
> </scxml>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message