[
https://issues.apache.org/jira/browse/SCXML-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rahul Akolkar updated SCXML-79:
-------------------------------
Fix Version/s: 0.9
Thanks Ingmar, I'll take a look soon. Setting fix version to next release, v0.9.
My initial reaction would be to put parentid in the Commons SCXML namespace
(its hard to say if anyone is ending up relying on it already).
As a reminder to myself, the initial attribute on SCXML should be changed to
initialstate.
Finally, do you mind sharing (very briefly) your usecase for the
SCXMLSerializer? There has long been a question in my mind towards its
usefulness, so its good to know that someone is using the SCXMLSerializer class
:-)
> 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.