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 "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/10 16:18:00 UTC
[jira] [Commented] (XERCESC-1902) Stray newline if pretty-printing
without xml declaration
[ https://issues.apache.org/jira/browse/XERCESC-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080583#comment-16080583 ]
Scott Cantor commented on XERCESC-1902:
---------------------------------------
Another issue was filed on this, I must have overlooked the pretty-print factor, as I didn't observe the behavior.
> Stray newline if pretty-printing without xml declaration
> --------------------------------------------------------
>
> Key: XERCESC-1902
> URL: https://issues.apache.org/jira/browse/XERCESC-1902
> Project: Xerces-C++
> Issue Type: Bug
> Components: DOM
> Affects Versions: 3.1.0
> Reporter: Boris Kolpackov
> Priority: Minor
>
> If we disable writing xml declaration and enable pretty printing, we get a stray newline at the beginning of the document:
> '
> <root>
> ...
> </root>
> '
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org