Invalid xml syntax

Bug #627642 reported by David Dauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAC Energy
Invalid
Low
Unassigned

Bug Description

While digging around I noticed that e.g. the readyNotification command XML is like this:

<?xml version="1.0" encoding="UTF-8"?><readyNotificationCommand><apikey>LKFBAEnfpipinrfdsi234sjfwlenf384</apikey><class>edu.kit.iism.tacdemo.ReadyNotificationCommand</class><competitionId>6</competitionId><ready>true</ready><username>admin</username></readyNotificationCommand>

and thus not valid xml. This affects all other commands, too. So we should make sure that xml communication is using valid-xml syntax.

David Dauer (ddauer)
description: updated
Revision history for this message
Prashant Reddy (preddy) wrote :

Why is this not valid XML? Am I missing something obvious?

Revision history for this message
Prashant Reddy (preddy) wrote :

To clarify, the XML seems to be well-formed. Do you mean that it should include a DTD reference?

Revision history for this message
David Dauer (ddauer) wrote :

Sorry, the document closing tag is missing - </xml>. A XML-schema would be even better.

Revision history for this message
John Collins (jcollins-cs) wrote :

But there is no opening tag <xml>, so I do not see what's wrong here. As Prashant says, this looks to me like well-formed xml.

Revision history for this message
David Dauer (ddauer) wrote :

Oh sorry my mistake! We should maybe think about using a schema anyway?

David Dauer (ddauer)
Changed in tacenergy:
status: New → Invalid
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.