You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/04/14 00:03:16 UTC

[jira] Resolved: (WSCOMMONS-193) OMSourcedElementImpl should close its parser

     [ https://issues.apache.org/jira/browse/WSCOMMONS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved WSCOMMONS-193.
--------------------------------------

    Resolution: Fixed

Committed revision 528621.

> OMSourcedElementImpl should close its parser
> --------------------------------------------
>
>                 Key: WSCOMMONS-193
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-193
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Rich Scheuerle
>         Assigned To: Rich Scheuerle
>
> When an OMSourcedElement is expanded, it retrieves a parser (XMLStreamReader) from the OMDataSource.
> This parser is distinct from the parser that is associated with the rest of the tree, and unaffected by anything happening with the tree's builder parser.
> When setComplete(true) is invoked on the OMSourcedElement, this parser (if accessed) should be closed.
> This is a simple fix that was discovered while performance testing.  Failure to close an XMLStreamReader can have negative performance implications (for example, the parser cannot be reused).
> I will provide a fix soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org