Add xml filter on the new template include files.
authorJason Stephenson <jason@sigio.com>
Fri, 8 Aug 2014 21:53:28 +0000 (17:53 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 8 Aug 2014 21:53:28 +0000 (17:53 -0400)
I forgot to do this after testing them.

Signed-off-by: Jason Stephenson <jason@sigio.com>
templates/includes/LookupVersionResponse.inc
templates/includes/ResponseHeader.inc
templates/includes/problem.inc

index 676e8ad..5cfcc8e 100644 (file)
@@ -1,5 +1,5 @@
 [% FOREACH version IN data.versions -%]
 <VersionSupported>
-[%- version -%]
+[%- version | xml -%]
 </VersionSupported>
 [% END -%]
index 78f69ea..669d7ec 100644 (file)
@@ -1,12 +1,12 @@
 <ResponseHeader>
 <FromAgencyId>
 <AgencyId>
-[% header.FromAgencyId.AgencyId %]
+[% header.FromAgencyId.AgencyId | xml %]
 </AgencyId>
 </FromAgencyId>
 <ToAgencyId>
 <AgencyId>
-[% header.ToAgencyId.AgencyId %]
+[% header.ToAgencyId.AgencyId  | xml %]
 </AgencyId>
 </ToAgencyId>
 </ResponseHeader>
index 8dd0dc6..c55c73b 100644 (file)
@@ -1,14 +1,14 @@
 <Problem>
 <ProblemType>
-[% problem.ProblemType %]
+[% problem.ProblemType | xml %]
 </ProblemType>
 <ProblemDetail>
-[% problem.ProblemDetail %]
+[% problem.ProblemDetail | xml %]
 </ProblemDetail>
 <ProblemElement>
-[% problem.ProblemElement %]
+[% problem.ProblemElement | xml %]
 </ProblemElement>
 <ProblemValue>
-[% problem.ProblemValue %]
+[% problem.ProblemValue | xml %]
 </ProblemValue>
 </Problem>