From ca39253f26c13ae449ecb96a874c42b12a260753 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Mon, 17 Sep 2018 10:08:34 -0400 Subject: [PATCH] Lp 1753813: Wrap all oils_persist:source_definitions in CDATA blocks. For safety's sake, we add CDATA sections in all fm_ILD.xml oils_persist:source_definition elements as show in the example at the top of the IDL. Signed-off-by: Jason Stephenson Signed-off-by: Ben Shum --- Open-ILS/examples/fm_IDL.xml | 78 ++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index e9b2323360..c883f47c86 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -4133,7 +4133,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + + ]]> @@ -4489,12 +4489,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - + = '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now')) + ((fine_interval >= '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now')) AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE')) ) THEN 1 ELSE 0 @@ -4504,7 +4504,7 @@ SELECT usr, SUM( CASE WHEN ( - ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now')) + ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now')) AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE')) ) THEN 1 ELSE 0 @@ -4517,7 +4517,7 @@ SELECT usr, FROM action.circulation WHERE checkin_time IS NULL GROUP BY 1 - + ]]> @@ -4531,12 +4531,12 @@ SELECT usr, - + = '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now')) + ((fine_interval >= '1 day' AND due_date >= 'today') OR (fine_interval < '1 day' AND due_date > 'now')) AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE')) ) THEN id::TEXT ELSE '0' @@ -4546,7 +4546,7 @@ SELECT usr, STRING_AGG( CASE WHEN ( - ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now')) + ((fine_interval >= '1 day' AND due_date < 'today') OR (fine_interval < '1 day' AND due_date < 'now')) AND (stop_fines IS NULL OR stop_fines NOT IN ('LOST','CLAIMSRETURNED','LONGOVERDUE')) ) THEN id::TEXT ELSE '0' @@ -4559,7 +4559,7 @@ SELECT usr, FROM action.circulation WHERE checkin_time IS NULL GROUP BY 1 - + ]]> @@ -6478,9 +6478,9 @@ SELECT usr, - + + ]]> @@ -10763,14 +10763,14 @@ SELECT usr, - + + ]]> @@ -11344,7 +11344,7 @@ SELECT usr, - + + ]]> @@ -11615,7 +11615,7 @@ SELECT usr, - + + ]]> @@ -11642,7 +11642,7 @@ SELECT usr, - + + ]]> @@ -11707,7 +11707,7 @@ SELECT usr, - + + ]]> @@ -11758,7 +11758,7 @@ SELECT usr, - + + ]]> @@ -11814,7 +11814,7 @@ SELECT usr, - + + ]]> @@ -12030,7 +12030,7 @@ SELECT usr, - + po.order_date -- filter out all claim policy actions where claim events -- have occurred on or after the action's action_interval @@ -12061,7 +12061,7 @@ SELECT usr, AND claim.lineitem_detail = lid.id ) WHERE - evt.event_date >= (po.order_date + cpa.action_interval) + evt.event_date >= (po.order_date + cpa.action_interval) ) ) WHERE @@ -12072,7 +12072,7 @@ SELECT usr, AND po.state = 'on-order' ORDER BY 1, 2, 3, 4, 5 - + ]]> @@ -12106,10 +12106,10 @@ SELECT usr, - + (invoice_count + cancel_count) - + ]]> @@ -12127,15 +12127,15 @@ SELECT usr, - + d.parent_ou - + ]]> @@ -12160,7 +12160,7 @@ SELECT usr, - + + ]]> @@ -12679,7 +12679,7 @@ SELECT usr, - + + ]]> -- 2.11.0