Registry / serialization / geronimo-stax-api-1-2-spec

geronimo-stax-api-1-2-spec

JSON →
library1.2javamavenunverified

Java API for Streaming XML (StAX) specification version 1.2, provided by Apache Geronimo.

<dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-stax-api_1.2_spec</artifactId> <version>1.2</version> </dependency>
INSTALL
IMPORT
SIG · GERONIMO-STAX-API-
G
geronimo-stax-api-1-2-spec
serializationjavav1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

XMLInputFactory
javax.xml.stream.XMLInputFactory

Creates an XML stream reader using the StAX API.

import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamReader; import java.io.StringReader; public class Quickstart { public static void main(String[] args) throws Exception { XMLInputFactory factory = XMLInputFactory.newInstance(); XMLStreamReader reader = factory.createXMLStreamReader(new StringReader("<root/>")); System.out.println(reader.getLocalName()); } }
Debug
Known issues
gotchaThis is an older spec version; prefer using the standard javax.xml.stream package from the JDK (Java 6+).
fix
Remove this dependency and use the built-in JDK StAX implementation.
affects: >=1.2
Upgrade
Version history
1.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
geronimo-stax-api-1-2-spec — mvn dependency:get geronimo-stax-api-1-2-spec · libregistry