Skip to content

Commit 150b844

Browse files
committed
bug fixed in XML Writer, where it was writingunnecessary xml namespace in each element. There is no functionality change, XMl is well formed in both case, before fix, it was generating more data for post
1 parent 3e9df70 commit 150b844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/Core/EwsServiceXmlWriter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class EwsServiceXmlWriter {
171171

172172
if (namespacePrefix !== "") namespacePrefix += ":";
173173
this.soapData += " " + namespacePrefix + localName + "=\"" + stringValue + "\"";
174-
if (namespacePrefix == "xmlns") // push to rootUris cache
174+
if (namespacePrefix == "xmlns:") // push to rootUris cache
175175
this.PushUris(localName, stringValue);
176176
//try {
177177
// this.xmlWriter.WriteAttributeString(

0 commit comments

Comments
 (0)