You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/06/25 19:33:23 UTC
[Bug 2311] New: - parseReset throws exception if parseFirst returns false
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2311
*** shadow/2311 Mon Jun 25 10:33:22 2001
--- shadow/2311.tmp.27675 Mon Jun 25 10:33:22 2001
***************
*** 0 ****
--- 1,30 ----
+ +============================================================================+
+ | parseReset throws exception if parseFirst returns false |
+ +----------------------------------------------------------------------------+
+ | Bug #: 2311 Product: Xerces-C |
+ | Status: NEW Version: 1.5 |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Windows NT/2K |
+ | Priority: Other Component: SAX/SAX2 |
+ +----------------------------------------------------------------------------+
+ | Assigned To: xerces-c-dev@xml.apache.org |
+ | Reported By: PeterV@ti.com.od.ua |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ When parsing the xml data with SAX parser (using progressive parsing),
+ the parseFirst method returned false. On parseReset method I got the following
+ error:
+ "The call to scanNext() is illegal at this time"
+ -------------------------------------------------
+
+
+ MySaxParser parser;
+ XMLPScanToken token;
+ if ( parser.parseFirst(memBuf, token) )
+ {
+ //...
+ }
+ parser.parseReset(token);
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org