[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] Created: (XERCESC-1507) DOMWriter::setNewLine( NULL ) doesn't work
From:       "Martin Boucher (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2005-09-30 18:59:49
Message-ID: 31161993.1128106789055.JavaMail.jira () ajax ! apache ! org
[Download RAW message or body]

DOMWriter::setNewLine( NULL ) doesn't work
------------------------------------------

         Key: XERCESC-1507
         URL: http://issues.apache.org/jira/browse/XERCESC-1507
     Project: Xerces-C++
        Type: Bug
    Versions: 2.6.0    
 Environment: Windows XP, compiled with Visual studio .NET 7.1
    Reporter: Martin Boucher


Calling DOMWriter::setNewLine( NULL ) on an instance of a DOMWriter doesn't seem to \
work under Windows. Based on documentation, it is supposed to respect the OS line \
termination. Expecting "\r\n" under Windows, I've got "\n".

Trying to hardcode "\r\n" on the same writer works partialy. I've got "\r\n" except \
on elements with attribute xml:space="preserve". Preserving space it's a thing but I \
think that respecting the line termination of the OS is more important.

I search the bug db and found few issues about that. I judge that it was not exactly \
my problem. Thanks a lot.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic