You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@xml.apache.org by Thomas Bentley <tb...@iris.com> on 2000/08/17 18:43:08 UTC

xml-xerces/6425: XMLText.cpp does not compile when XML_DEBUG is defined

>Number:         6425
>Category:       xml-xerces
>Synopsis:       XMLText.cpp does not compile when XML_DEBUG is defined
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    xml
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Aug 17 09:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     tbentley@iris.com
>Release:        1.2.0a
>Organization:
apache
>Environment:
NT 4.0, SP 6.0a, MSVC++ 6.0, Xerces 1.2.0a
>Description:
The file xerces\util\XMLString.cpp has compile errors when built when XML_DEBUG is defined.  

When XML_DEBUG is defined, XMLString::cut code uses a variable called toCut, but it should be toCutFrom.
>How-To-Repeat:
define the constant XML_DEBUG and compile xerces\util\XMLString.cpp 
>Fix:
"toCut" should be changed to "toCutFrom"
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]