On Wednesday 12 October 2005 15:57, Jyrki Saarinen wrote:
> On Saturday 08 October 2005 01:19, Eric Johnson wrote:
> > In Axis 1.2.1, you probably want to set the system property
> > "-Daxis.xml.reuseParsers=true". In Axis 1.3, I believe the code was
> > changed so this is the default.
>
> In case of someone else is interested on this, it isn't on as default:
>
> String value =
> AxisProperties.getProperty(AxisEngine.PROP_XML_REUSE_SAX_PARSERS,
> "" + true);
> if (value.equalsIgnoreCase("true") ||
> value.equals("1") ||
> value.equalsIgnoreCase("yes")) {
> enableParserReuse = true;
> } else {
> enableParserReuse = false;
> }
>
> Jyrki
Äh, sorry. Of course it is on if the property is not specified, in which case
AxisProperties.getProperty() returns "true";
Jyrki