[java-opensaml] 01/02: Guard against CDATA issues in unit test data.

Scott Cantor cantor.2 at osu.edu
Wed Feb 28 19:19:59 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-opensaml.

View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=0a410cee5189fcce103ef771e5e5e0158ce5c9f0

commit 0a410cee5189fcce103ef771e5e5e0158ce5c9f0
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 28 19:18:45 2018 -0500

    Guard against CDATA issues in unit test data.
---
 .../test/resources/org/opensaml/core/xml/SimpleXMLObjectWithContent.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opensaml-core/src/test/resources/org/opensaml/core/xml/SimpleXMLObjectWithContent.xml b/opensaml-core/src/test/resources/org/opensaml/core/xml/SimpleXMLObjectWithContent.xml
index 860a20e..23d63ac 100644
--- a/opensaml-core/src/test/resources/org/opensaml/core/xml/SimpleXMLObjectWithContent.xml
+++ b/opensaml-core/src/test/resources/org/opensaml/core/xml/SimpleXMLObjectWithContent.xml
@@ -1,2 +1,2 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<test:SimpleElement xmlns:test="http://www.example.org/testObjects"><test:SimpleElement>Content1</test:SimpleElement><test:SimpleElement>Content2</test:SimpleElement><test:SimpleElement><test:SimpleElement>Content3</test:SimpleElement></test:SimpleElement></test:SimpleElement>
+<test:SimpleElement xmlns:test="http://www.example.org/testObjects"><test:SimpleElement>Con<![CDATA[tent]]>1</test:SimpleElement><test:SimpleElement><![CDATA[Con]]>tent2</test:SimpleElement><test:SimpleElement><test:SimpleElement>Content<![CDATA[3]]></test:SimpleElement></test:SimpleElement></test:SimpleElement>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list