[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] Commented: (SCXML-79) SCXMLSerializer: nested states have a
From:       "Ingmar Kliche (JIRA)" <jira () apache ! org>
Date:       2008-07-31 12:42:33
Message-ID: 1451109151.1217508153484.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/SCXML-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618659#action_12618659 \
] 

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: https://issues.apache.org/jira/browse/SCXML-79
> 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="http://www.w3.org/2005/07/scxml" \
> xmlns:cs="http://commons.apache.org/scxml" 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic