[ http://nagoya.apache.org/jira/browse/XERCESC-936?page=history ]
Alberto Massari updated XERCESC-936: ------------------------------------ Priority: Major > xerces/util/XMLString::patternMatch bug (C++) > --------------------------------------------- > > Key: XERCESC-936 > URL: http://nagoya.apache.org/jira/browse/XERCESC-936 > Project: Xerces-C++ > Type: Bug > Components: DOM > Versions: 2.1.0 > Environment: Operating System: Solaris > Platform: Sun > Reporter: Louise Dong > Assignee: Xerces-C Developers Mailing List > > ----------- > problem: > ----------- > when using DOMWriter > with setFeature(XMLUni::fgDOMWRTSplitCdataSections, false); > The following xml could not be parsed (parse error: nestedCDATA): > "<!DOCTYPE doc [<!ENTITY ast \"*\"><!ENTITY nbsp \" \">] > ><doc>abce</doc>" > ------------------- > code fix: > ------------------- > file name: util/XMLString.cpp > func name: XMLString::patternMatch > origional code: > ///////////////////////////////////////////////////////////// > if (!patnMatch) > { > patnIndex = 0; > patnMatch = (*srcPtr == pattern[patnIndex++]); > } > ///////////////////////////////////////////////////////////// > should be replaced with > ///////////////////////////////////////////////////////////// > if (!patnMatch) > { > patnIndex = 0; > continue; > } > ///////////////////////////////////////////////////////////// -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]