dicka 2005/08/19 06:34:45
Modified: c/src/soap/xsd Base64Binary.cpp Base64Binary.hpp
c/tests/auto_build/testcases/output
XSD_base64Binary2.expected
Log:
Correct expected output for XSD_base64Binary2 testcase.
Correct Base64Binary to initialize a WhiteSpace object as COLLAPSE.
PR: AXISCPP-779
Submitted by: Adrian Dick
Revision Changes Path
1.14 +5 -0 ws-axis/c/src/soap/xsd/Base64Binary.cpp
Index: Base64Binary.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/soap/xsd/Base64Binary.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Base64Binary.cpp 1 Jun 2005 14:22:56 -0000 1.13
+++ Base64Binary.cpp 19 Aug 2005 13:34:45 -0000 1.14
@@ -163,5 +163,10 @@
{
return new Length();
}
+
+ WhiteSpace* Base64Binary::getWhiteSpace()
+ {
+ return new WhiteSpace(COLLAPSE);
+ }
AXIS_CPP_NAMESPACE_END
1.12 +6 -0 ws-axis/c/src/soap/xsd/Base64Binary.hpp
Index: Base64Binary.hpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/soap/xsd/Base64Binary.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Base64Binary.hpp 1 Jun 2005 14:22:56 -0000 1.11
+++ Base64Binary.hpp 19 Aug 2005 13:34:45 -0000 1.12
@@ -106,6 +106,12 @@
* @return An unset Length object
*/
Length* getLength();
+
+ /**
+ * Creates a WhiteSpace object to collapse whitespace
+ * @return WhiteSpace object set to collapse whitespace
+ */
+ WhiteSpace* getWhiteSpace();
};
AXIS_CPP_NAMESPACE_END
1.2 +1 -1
ws-axis/c/tests/auto_build/testcases/output/XSD_base64Binary2.expected
Index: XSD_base64Binary2.expected
===================================================================
RCS file:
/home/cvs/ws-axis/c/tests/auto_build/testcases/output/XSD_base64Binary2.expected,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- XSD_base64Binary2.expected 4 Aug 2005 13:31:40 -0000 1.1
+++ XSD_base64Binary2.expected 19 Aug 2005 13:34:45 -0000 1.2
@@ -1,4 +1,4 @@
non-nillable element
size=100
- data=<test><xml>some dod&y string</xml></test>
+ data= <test><xml> some dod&y string </xml></test>
---------------------- TEST COMPLETE -----------------------------