From d1bb2824635334f0246959092ea9cdc82e1cb36c Mon Sep 17 00:00:00 2001
From: Irvine Sunday <40403681+irvinesunday@users.noreply.github.com>
Date: Wed, 25 Oct 2023 18:17:54 +0300
Subject: [PATCH] Add `AcceptableMediaTypes` to
`organizationalBrandingProperties` media stream properties (#471)
* Add acceptable media types
* Add input and output test data
* Remove unnecessary script
---
transforms/csdl/preprocess_csdl.xsl | 24 +++++
.../csdl/preprocess_csdl_test_input.xml | 9 ++
.../csdl/preprocess_csdl_test_output.xml | 93 +++++++++++++++++++
3 files changed, 126 insertions(+)
diff --git a/transforms/csdl/preprocess_csdl.xsl b/transforms/csdl/preprocess_csdl.xsl
index 651b9b099..12b83a6c9 100644
--- a/transforms/csdl/preprocess_csdl.xsl
+++ b/transforms/csdl/preprocess_csdl.xsl
@@ -171,6 +171,30 @@
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/transforms/csdl/preprocess_csdl_test_output.xml b/transforms/csdl/preprocess_csdl_test_output.xml
index f9c6cd896..722f09b05 100644
--- a/transforms/csdl/preprocess_csdl_test_output.xml
+++ b/transforms/csdl/preprocess_csdl_test_output.xml
@@ -404,6 +404,99 @@
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+
+
+
+ image/bmp
+ image/jpg
+ image/jpeg
+ image/gif
+ image/vnd.microsoft.icon
+ image/png
+ image/tiff
+
+
+
+