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 "Williamson, Siehnai" <sw...@docucorp.com> on 2001/12/11 20:39:11 UTC
parseFirst() return values
Hi,
What are the return values for parseFirst() in the SAX parser? My
application treats the return codes this way:
Return code meaning
----------------- -------------
1 OK--there's more data to parse
0 error
Is this correct? Are there any more return values? If so, please list.
Thanks
Re: parseFirst() return values
Posted by Tinny Ng <tn...@ca.ibm.com>.
Yes. That's correct. parseFirst only returns true or false together
with a XMLPScanToken token.
Tinny
"Williamson, Siehnai" wrote:
>
>
> Hi,
>
> What are the return values for parseFirst() in the SAX parser? My
> application treats the return codes this way:
>
> Return code meaning
> ----------------- -------------
> 1 OK--there's more data to parse
> 0 error
>
> Is this correct? Are there any more return values? If so, please
> list.
>
> Thanks