[ 
http://issues.apache.org/jira/browse/WSCOMMONS-13?page=comments#action_12376126 
] 

Dennis Sosnoski commented on WSCOMMONS-13:
------------------------------------------

I don't think any of the StAX implementations are enforcing this at present. My 
JiBX code currently just calls the getCharacterEncodingScheme() at arbitrary 
times. I've tested it with several StAX parser implementations and haven't seen 
any exceptions thrown. Now that you've pointed this out I'll change the way 
JiBX handles it, of course.

> Axiom calls StAX methods while parser is in invalid state
> ---------------------------------------------------------
>
>          Key: WSCOMMONS-13
>          URL: http://issues.apache.org/jira/browse/WSCOMMONS-13
>      Project: WS-Commons
>         Type: Bug

>   Components: AXIOM
>  Environment: Windows XP -- not relevent for issue
>     Reporter: Mike Rheinheimer
>  Attachments: patch.txt
>
> Axiom class
> org.apache.ws.commons.soap.impl.builder.StAXSOAPModelBuilder
> calls the StAX parser methods getCharacterEncodingScheme() and getVersion() 
> when the parser is in an invalid state.  These methods may only be called 
> when the parser is in the START_DOCUMENT state, according to the StAX spec.
> Patch to be provided by me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to