xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16930] New: - DOMWriter's setNewLine() function doesn't work
Date Mon, 10 Feb 2003 16:09:56 GMT
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=16930>.
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=16930

DOMWriter's setNewLine() function doesn't work

           Summary: DOMWriter's setNewLine() function doesn't work
           Product: Xerces-C++
           Version: 1.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-c-dev@xml.apache.org
        ReportedBy: yifanl@profoundeffects.com


I am using xerces C++ nightly build on Jan. 11, 2003. But I suspect that the 
problem is also with other builds. I would like to add linefeed to my xml file 
generated by DOMWriter so that I can use a text editer like notepad to edit 
the xml file. I tried: theSerializer->setNewLine(XMLString::transcode("\n"));
(like the XERCES-C_2003-01-11-WIN32\samples\DOMPrint\DOMPrint.cpp uses: 
theSerializer->setNewLine(gMyEOLSequence);), but it didn't work.

What should I use for gMyEOLSequence (i.e. the end of line sequence) to add a 
linefeed to the xml file?
Thanks.

Yifan

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Mime
View raw message