You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2024. It is now read-only.
Not exactly an issue with the EWS Library, but the XML Parser complains about the � reference not being a correct character reference in one of the mails I had to read.
Which I worked around with the following patch.
I perfectly understand if you don't want to add this to the library by default as this will silently parse any invalid XML.
But probably a way could be added to instrument the stream and or XmlEventReader so we can setup behavior from outside of your library?
@@ -99,7 +101,14 @@ public class EwsXmlReader {
XMLInputFactory inputFactory = XMLInputFactory.newInstance();
inputFactory.setProperty(XMLInputFactory.SUPPORT_DTD, false);
Not exactly an issue with the EWS Library, but the XML Parser complains about the � reference not being a correct character reference in one of the mails I had to read.
Which I worked around with the following patch.
I perfectly understand if you don't want to add this to the library by default as this will silently parse any invalid XML.
But probably a way could be added to instrument the stream and or XmlEventReader so we can setup behavior from outside of your library?
@@ -99,7 +101,14 @@ public class EwsXmlReader {
XMLInputFactory inputFactory = XMLInputFactory.newInstance();
inputFactory.setProperty(XMLInputFactory.SUPPORT_DTD, false);
}