{"id":76432,"library":"geronimo-stax-api-1-2-spec","title":"Geronimo STAX API 1.2 Spec","description":"Java API for Streaming XML (StAX) specification version 1.2, provided by Apache Geronimo.","status":"active","version":"1.2","language":"java","source_language":null,"source_url":"https://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-stax-api_1.2_spec-1.2","tags":["xml","stax","streaming","geronimo"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.geronimo.specs</groupId>\n  <artifactId>geronimo-stax-api_1.2_spec</artifactId>\n  <version>1.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.geronimo.specs:geronimo-stax-api_1.2_spec:1.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"XMLInputFactory","correct":"javax.xml.stream.XMLInputFactory"}],"quickstart":{"code":"import javax.xml.stream.XMLInputFactory;\nimport javax.xml.stream.XMLStreamReader;\nimport java.io.StringReader;\n\npublic class Quickstart {\n    public static void main(String[] args) throws Exception {\n        XMLInputFactory factory = XMLInputFactory.newInstance();\n        XMLStreamReader reader = factory.createXMLStreamReader(new StringReader(\"<root/>\"));\n        System.out.println(reader.getLocalName());\n    }\n}","lang":"java","description":"Creates an XML stream reader using the StAX API."},"warnings":[{"fix":"Remove this dependency and use the built-in JDK StAX implementation.","message":"This is an older spec version; prefer using the standard javax.xml.stream package from the JDK (Java 6+).","severity":"gotcha","affected_versions":">=1.2"}],"env_vars":null,"search_vec":"'1.2':4,14 'apach':17 'api':3,7 'geronimo':1,18,22 'java':6 'provid':15 'spec':5 'specif':12 'stax':2,11,20 'stream':9,21 'version':13 'xml':10,19","created_at":"2026-06-17T19:30:55.703848+00:00","updated_at":"2026-06-17T19:30:55.703848+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":"http://geronimo.apache.org/maven/specs/geronimo-stax-api_1.2_spec/1.2","github":null,"docs":"https://appdoc.app/artifact/org.apache.geronimo.specs/geronimo-stax-api_1.2_spec/","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}}