diff options
Diffstat (limited to 'server/src/saxparser.cc')
-rw-r--r-- | server/src/saxparser.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/saxparser.cc b/server/src/saxparser.cc index ee03de1..8455593 100644 --- a/server/src/saxparser.cc +++ b/server/src/saxparser.cc @@ -182,7 +182,7 @@ unsigned int SAXParser::usedBytes() static char xml[] = "<?xml version='1.0' encoding='UTF-8'?>\n" "<pracro version=\"1.0\" user=\"testuser\" cpr=\"1505050505\">\n" -" <commit version=\"\" macro=\"referral\" course=\"amd_forunders\">\n" +" <commit version=\"\" macro=\"referral\" template=\"amd_forunders\">\n" " <field value=\"Some docs\" name=\"referral.doctor\"/>\n" " <field value=\"DIMS\" name=\"referral.diagnosecode\"/>\n" " <field value=\"Avs\" name=\"referral.diagnose\"/>\n" @@ -193,7 +193,7 @@ static char xml[] = static char xml_notrailingwhitespace[] = "<?xml version='1.0' encoding='UTF-8'?>\n" "<pracro version=\"1.0\" user=\"testuser\" cpr=\"1505050505\">\n" -" <commit version=\"\" macro=\"referral\" course=\"amd_forunders\">\n" +" <commit version=\"\" macro=\"referral\" template=\"amd_forunders\">\n" " <field value=\"Some docs\" name=\"referral.doctor\"/>\n" " <field value=\"DIMS\" name=\"referral.diagnosecode\"/>\n" " <field value=\"Avs\" name=\"referral.diagnose\"/>\n" @@ -204,14 +204,14 @@ static char xml_notrailingwhitespace[] = static char xml_fail[] = "<?xml version='1.0' encoding='UTF-8'?>\n" "<pracro version=\"1.0\" user\"testuser\" cpr=\"1505050505\">\n" -" <request macro=\"test\" course=\"test\"/>\n" +" <request macro=\"test\" template=\"test\"/>\n" "</pracro>\n" ; static char xml_fail2[] = "<?xml version='1.0' encoding='UTF-8'?>\n" "<pracro version=\"1.0\" user\"testuser\" cpr=\"1505050505\">\n" -" <request macro=\"test\" course=\"test\"/>\n" +" <request macro=\"test\" template=\"test\"/>\n" "</pracro>\n" "this is junk\n" ; |