[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    DO NOT REPLY [Bug 4381]  -
From:       bugzilla () apache ! org
Date:       2001-11-28 20:47:51
[Download RAW message or body]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4381>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4381

Progressive parse scan token is not being reset after parseFirst() encounters a \
warning, which makes the token passed no longer valid

tng@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From tng@ca.ibm.com  2001-11-28 12:47 -------
Using the latest nightly build, I cannot reproduce your problem.  Progressive 
Parse your xml file as follows:

        if (!parser->parseFirst(xmlFile, token))
        {
            cerr << "scanFirst() failed\n" << endl;
            XMLPlatformUtils::Terminate();
            return 1;
        }

        //
        //  We started ok, so lets call scanNext() until we find what we want
        //  or hit the end.
        //
        bool gotMore = true;
        while (gotMore)
            gotMore = parser->parseNext(token);

I receive the warning:
Warning at file e:\usertemp\GUI3.XML, line 1, char 40
  Message: Encoding (UTF-16, from XMLDecl or manually set) contradicts the 
auto-sensed encoding, ignoring it

But the parseNext continues fine and does not complain about the token.

Please try again with the latest release.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic