tobydragon / metafora-project

Automatically exported from code.google.com/p/metafora-project
1 stars 0 forks source link

empty properties in home indicators #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a log in indicator

The indicator includes empty properties, i.e. <property/>

If there is not property, this xml should not be included.

Example message below: 

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE action SYSTEM "http://metafora.ku-eichstaett.de/dtd/commonformat.dtd">
<action time="1352359769579">
<actiontype classification="other" logged="false" type="INDICATOR"/>
<user id="Stuart" role="originator"/>
<object id="Stuart`s login" type="LOGIN">
<properties>
<property name="SENDING_TOOL" value="METAFORA_TEST"/>
<property/>
<property name="GROUP_ID" value="1-test"/>
</properties>
</object>
<content>
<description><![CDATA[Stuart logged in!]]></description>
<properties>
<property name="INDICATOR_TYPE" value="ACTIVITY"/>
<property name="SENDING_TOOL" value="METAFORA_TEST"/>
<property name="ACTIVITY_TYPE" value="LOGIN"/>
</properties>
</content>
</action>

Original issue reported on code.google.com by tdragon1...@gmail.com on 8 Nov 2012 at 11:17

GoogleCodeExporter commented 9 years ago

Original comment by kerstinp...@yahoo.de on 8 Nov 2012 at 11:46