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=6336>.
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=6336

Output of XMLString::transcode not freed?

           Summary: Output of XMLString::transcode not freed?
           Product: Xerces-C++
           Version: 1.6.0
          Platform: All
               URL: http://xml.apache.org/xerces-c/schema.html
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The documentation contains uses of XMLString::transcode that look like this:

parser->setProperty(
       XMLString::transcode("http://apache.org/xml/properties/schema/external-
noNamespaceSchemaLocation"),
       XMLString transcode("personal.xsd"));

This seems to contradict the claim in XMLString.hpp that the caller of 
XMLString::transcode() is responsible for freeing the memory.

If the example is written that way for brevity's sake, I'd say it's more 
confusing than it's worth.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to