{"id":63602,"library":"xerces","title":"Xerces","description":"A high-performance XML parser for Java, supporting DOM, SAX, and StAX parsing.","status":"active","version":"2.4.0","language":"java","source_language":null,"source_url":null,"tags":["xml","parser","dom","sax"],"install":[{"cmd":"<dependency>\n  <groupId>xerces</groupId>\n  <artifactId>xerces</artifactId>\n  <version>2.4.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'xerces:xerces:2.4.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"DOMParser","correct":"org.apache.xerces.parsers.DOMParser"}],"quickstart":{"code":"import org.apache.xerces.parsers.DOMParser;\nimport org.w3c.dom.Document;\n\npublic class Main {\n    public static void main(String[] args) throws Exception {\n        DOMParser parser = new DOMParser();\n        parser.parse(\"file.xml\");\n        Document doc = parser.getDocument();\n    }\n}","lang":"java","description":"Parses an XML file using the Xerces DOM parser and retrieves the document."},"warnings":[{"fix":"Upgrade to a newer version of Xerces or use a different XML parser like Xerces2.","message":"Older version (2.4.0) may have security vulnerabilities; consider using a newer version or alternative parser.","severity":"breaking","affected_versions":"<=2.4.0"}],"env_vars":null,"search_vec":"'dom':11,18 'high':4 'high-perform':3 'java':9 'pars':15 'parser':7,17 'perform':5 'sax':12,19 'stax':14 'support':10 'xerc':1 'xml':6,16","created_at":"2026-06-17T16:45:43.948839+00:00","updated_at":"2026-06-17T16:45:43.948839+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":"https://appdoc.app/artifact/xerces/xerces/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}