Title: Invalid character reference · Issue #353 · OfficeDev/ews-java-api · GitHub
Open Graph Title: Invalid character reference · Issue #353 · OfficeDev/ews-java-api
X Title: Invalid character reference · Issue #353 · OfficeDev/ews-java-api
Description: 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 understa...
Open Graph Description: 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 t...
X Description: 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 t...
Opengraph URL: https://github.com/OfficeDev/ews-java-api/issues/353
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Invalid character reference ","articleBody":"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.\n\nWhich I worked around with the following patch.\nI perfectly understand if you don't want to add this to the library by default as this will silently parse any invalid XML.\nBut probably a way could be added to instrument the stream and or XmlEventReader so we can setup behavior from outside of your library?\n\n@@ -99,7 +101,14 @@ public class EwsXmlReader {\n XMLInputFactory inputFactory = XMLInputFactory.newInstance();\n inputFactory.setProperty(XMLInputFactory.SUPPORT_DTD, false);\n- return inputFactory.createXMLEventReader(stream);\n- XMLEventReader reader = inputFactory.createXMLEventReader(stream);\n +\n- // IM: continue after fatal error to prevent \"invalid character reference\" \n- XMLErrorReporter errorReporter =\n- (XMLErrorReporter) reader.getProperty(Constants.XERCES_PROPERTY_PREFIX + Constants.ERROR_REPORTER_PROPERTY);\n- errorReporter.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.CONTINUE_AFTER_FATAL_ERROR_FEATURE, true);\n +\n- return reader;\n }\n","author":{"url":"https://github.com/imario42","@type":"Person","name":"imario42"},"datePublished":"2015-06-16T13:06:34Z","url":"https://github.com/OfficeDev/ews-java-api/issues/353"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1fe09396-8a26-3e1b-9c90-3f86b3f0b846 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D6EE:1F0656:663F23:8C2A82:6B05A800 |
| html-safe-nonce | 65cc5289e304719c5d234a29fe340ec5656f72eb93566b4e1a262b87b80f7598 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkVFOjFGMDY1Njo2NjNGMjM6OEMyQTgyOjZCMDVBODAwIiwidmlzaXRvcl9pZCI6IjU2Njg2Mzg4NzcxOTIzOTg4NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f704f87c2311a22b109d4f806cbe0fbcbfe8d9fb987f0314a5e5946b04516e7 |
| hovercard-subject-tag | issue:88722549 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/OfficeDev/ews-java-api/353/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bf4a94362c3a30e49b9adaa7a964a8537a487d459db342de8cd48991e0f989ab/OfficeDev/ews-java-api/issues/353 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf4a94362c3a30e49b9adaa7a964a8537a487d459db342de8cd48991e0f989ab/OfficeDev/ews-java-api/issues/353 |
| og:image:alt | 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 t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | imario42 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1fb3ddc0b71892c329818732762bc26c09d4e193a34ef934888d4731e69c0173 |
| turbo-cache-control | no-preview |
| go-import | github.com/OfficeDev/ews-java-api git https://github.com/OfficeDev/ews-java-api.git |
| octolytics-dimension-user_id | 6789362 |
| octolytics-dimension-user_login | OfficeDev |
| octolytics-dimension-repository_id | 23322482 |
| octolytics-dimension-repository_nwo | OfficeDev/ews-java-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 23322482 |
| octolytics-dimension-repository_network_root_nwo | OfficeDev/ews-java-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 001eaa59a2e6bac6dc88d27c00f0240847562453 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width