Commit 07fe39d1 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Transitions no longer have names in the bcx file (it was an empty field)

parent 777c2f8b
......@@ -241,9 +241,9 @@ class XmlVisitor:
Generate xml representation of a transition
"""
tag = "transition"
attrname = ["name", "ori", "ext", "event",
attrname = ["ori", "ext", "event",
"condition", "action", "fact_ids"]
attr = [trans.name, trans.ori.name, trans.ext.name, trans.event,
attr = [trans.ori.name, trans.ext.name, trans.event,
trans.condition, trans.action, trans.fact_ids]
fact_ids = trans.fact_ids
......@@ -339,8 +339,8 @@ class MakeHandler(ContentHandler):
)
self.node_dict[element_name] = self.current_element
elif name == "transition":
name = att.get('name', '').encode('ascii')
elif name == 'transition':
#name = att.get('name', '').encode('ascii')
ori = att.get('ori', '')
ext = att.get('ext', '')
event = att.get('event', '')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment