[
https://issues.apache.org/jira/browse/XERCESC-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631710#action_12631710
]
Boris Kolpackov commented on XERCESC-1827:
------------------------------------------
I and Alberto did some more thinking on David B's committed patch and we came
to the conclusion that there were still a number of problems in this function.
I therefore split this function into two: one for short strings (less than
kCharBufSize) in which case fCharIndex is preserved and one for long strings in
which case fCharIndex is not preserved.
I am keeping this bug open since It would be a good idea to add the test case
(new-test.cc) to the test suite after the release.
> Parser reports error when comment tag is broken up by BinInputStream
> --------------------------------------------------------------------
>
> Key: XERCESC-1827
> URL: https://issues.apache.org/jira/browse/XERCESC-1827
> Project: Xerces-C++
> Issue Type: Bug
> Components: Non-Validating Parser
> Affects Versions: 2.8.0
> Environment: Solaris (SunOS 5.10) i386 SunPRO
> cygwin i386 GCC
> Reporter: Vasantha Crabb
> Fix For: 3.0.0, 2.9.0
>
> Attachments: long.xml, new-test.cc, test.cc
>
>
> If the BinInputStream delivers data to the parser in such a way that the '<',
> '!' and '--' at the start of an XML comment are delivered separately, the
> parser will report the error 'Expected comment or CDATA'. The problem is
> reproducible under Xerces 2.8 on both Solaris i386 with the SunPRO C++
> compiler and cygwin i386 with the GNU C++ compiler.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]