I am using SAXParserFactory for parsing the XML. I want to set do the following. factory.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", true);
But when I use this code I am getting following exception. SAXNotRecognizedException. I am using SonarCube tool for code review. This tool shows a blocker issue Untrusted XML should be parsed without resolving external data. To avoid this blocker I need to setFeature. Please let me know some ideas to how to setFeature for secure-processing. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/2b67bc0b-a7e4-45d6-b8fe-09f98359c162n%40googlegroups.com.