Skip to content

AxiomSoapMessageFactory does not provide way to set properties on XMLInputFactory [SWS-650] #753

@gregturn

Description

@gregturn

Matt Magoffin opened SWS-650 and commented

The AxiomSoapMessageFactory class instantiates an internally-only accessible XMLInputFactory in its constructor like this:

inputFactory = XMLInputFactory.newInstance();

I would like to be able to turn text coalescing off to be able to handle very large text element content (i.e. base-64 encoded binary data) but without turning off coalescing the JVM will quickly run out of memory.

A way to configure the XMLInputFactory properties, for example to be able to specify a Map<String, Object> configurable property to pass to

inputFactory.setProperty(key, value);

There are many useful properties that can be configured:

http://woodstox.codehaus.org/javadoc/stax-api/1.0/javax/xml/stream/XMLInputFactory.html


Affects: 1.5.9

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions