You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/11/03 08:45:59 UTC
[jira] Updated: (XERCESC-1507) DOMWriter::setNewLine( NULL )
doesn't work
[ https://issues.apache.org/jira/browse/XERCESC-1507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov updated XERCESC-1507:
-------------------------------------
Fix Version/s: 3.1.0
Would be good to verify that this problem still exist and fix it for 3.1.0 if so.
> DOMWriter::setNewLine( NULL ) doesn't work
> ------------------------------------------
>
> Key: XERCESC-1507
> URL: https://issues.apache.org/jira/browse/XERCESC-1507
> Project: Xerces-C++
> Issue Type: Bug
> Components: DOM
> Affects Versions: 2.6.0
> Environment: Windows XP, compiled with Visual studio .NET 7.1
> Reporter: Martin Boucher
> Fix For: 3.1.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org