[email protected]
[Top] [All Lists]

[jira] Resolved: (XERCESJ-1198) StreamReader throws an XMLStreamExceptio

Subject: [jira] Resolved: (XERCESJ-1198) StreamReader throws an XMLStreamException instead of NoSuchElementException
From: "Michael Glavassevich (JIRA)"
Date: Thu, 28 Sep 2006 22:02:53 -0700 PDT
     [ http://issues.apache.org/jira/browse/XERCESJ-1198?page=all ]

Michael Glavassevich resolved XERCESJ-1198.

    Resolution: Fixed

Good catch. I've just checked in fixes for both the SAX and DOM 

> StreamReader throws an XMLStreamException instead of NoSuchElementException
> ---------------------------------------------------------------------------
>                 Key: XERCESJ-1198
>                 URL: http://issues.apache.org/jira/browse/XERCESJ-1198
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: StAX
>    Affects Versions: 2.8.1
>            Reporter: Lucian Holland
>         Assigned To: Michael Glavassevich
>            Priority: Minor
> According to the JDocs for next() on XMLStreamReader, it should throw a 
> NoSuchElementException if called when hasNext() returns false. The current 
> implementation is throwing an XMLStreamException instead.

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


To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

<Prev in Thread] Current Thread [Next in Thread>